Skip to content

#0cf7fc

a balanced, electric cyan · cool · closest name: Cyan

RGB
12, 247, 252
HSL
181°, 98%, 52%
CMYK
95, 2, 0, 1
Luminance
0.7363

At a glance

Every number on this page in one read: what #0cf7fc is made of, how bright it looks, and which way it leans.

Hex
#0cf7fc
Hue
181°
cyan
Saturation
98%
electric
Lightness
52%
balanced
Brightness
99%
HSV value
Perceived
81%
weighted brightness
Luminance
0.7363
WCAG relative
Temperature
Cool
88/100 cool
Color family
Cyan
Tone
Electric
Best ink
Black
15.73:1
Closest name
Cyan
ΔE2000 2.3
Where it sits
Hue181° of 360°
Saturation98%
Lightness52%
Temperature
Warm ← → Cool88% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#0cf7fc
RGBrgb(12, 247, 252)
HSLhsl(181, 98%, 52%)
CMYKcmyk(95%, 2%, 0%, 1%)
LABlab(88.7 -45.3 -16.1)
LCHlch(88.7 48.0 199.6)
OKLCHoklch(0.886 0.150 197.4)
Decimal849916
Display P3color(display-p3 0.047 0.969 0.988)

Copy-ready code

/* CSS */
color: #0cf7fc;
background-color: #0cf7fc;
/* Tailwind (arbitrary) */
class="text-[#0cf7fc] bg-[#0cf7fc]"
/* SCSS */
$brand: #0cf7fc;
/* SwiftUI */
Color(red: 0.047, green: 0.969, blue: 0.988)
/* Android */
Color.parseColor("#0cf7fc")
/* Flutter */
Color(0xFF0CF7FC)
/* Python / OpenCV (BGR) */
(252, 247, 12)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #0cf7fc · 15.73:1
Use #000000AAA at every size.
Aa
White text · 1.34:1
AA fail · AA large fail · AAA fail
Aa
Black text · 15.73:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #0cf7fc as text scores 1.34:1 on white and 15.73:1 on black.

Accessibility — WCAG contrast

Aa
#0cf7fc on white: 1.34:1
AA ✗ fail · AA-large · AAA
Aa
#0cf7fc on black: 15.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E5EBFD
deuteranopia · #C8D6FD
tritanopia · #00FFF8

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #0cf7fc is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F1FDFD
#E4FBFC
#C1FAFB
#90FBFE
#59FAFD
#21F8FC
#0cf7fc
#02C6CA
#029EA1
#067274
#044749
Base = 600Lightest = 50 · #F1FDFDDarkest = 950 · #044749
:root {
  --brand-50: #F1FDFD;
  --brand-100: #E4FBFC;
  --brand-200: #C1FAFB;
  --brand-300: #90FBFE;
  --brand-400: #59FAFD;
  --brand-500: #21F8FC;
  --brand-600: #0cf7fc;
  --brand-700: #02C6CA;
  --brand-800: #029EA1;
  --brand-900: #067274;
  --brand-950: #044749;
  --brand: #0cf7fc;
  --brand-ink: #000000;
}

Colors that work with #0cf7fc

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F4FAFA
Tinted page background
Border#C0ECED
Hairlines and dividers
Muted text#4B999B
Captions on the surface
Accent#FF0942
Second voice, not a rival
Dark variant#027B7E
Hover, pressed, headers
Light variant#E6FEFF
Selected rows, tints
Dark surface#142424
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #0cf7fc

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • Thin strokes and 1px borders — they disappear on light UI
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#FC110C
Analogous left#0CFC89
Analogous right#0C7FFC
Split-complement 1#FC0C7F
Split-complement 2#FC890C
Triadic 1#FC0CF7
Triadic 2#F7FC0C
Tetradic#890CFC

RGB percentages

Red4.7%
Green96.9%
Blue98.8%

CMYK percentages

Cyan95.2%
Magenta2.0%
Yellow0.0%
Key (black)1.2%

Color previews

#0cf7fc text on a black background

contrast 15.73:1

Card sample

#0cf7fc text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #0cf7fc;
Background color
Panel with #0cf7fc background
background-color: #0cf7fc;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #0cf7fc;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(12, 247, 252, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(12, 247, 252, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0cf7fc;
background: linear-gradient(135deg, #0cf7fc, #0C57FC);

Monochromatic scale

Palettes built from #0cf7fc

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#0cf7fc in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyTravelHealthcareMedia
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#0cf7fc, answered

What color is #0cf7fc?

#0cf7fc is a balanced electric cyan, closest to Cyan (ΔE2000 2.3). It sits at 181° on the hue wheel with 98% saturation and 52% lightness, which reads as cool.

What is the RGB value of #0cf7fc?

rgb(12, 247, 252) — 12 red, 247 green and 252 blue out of 255, or 4.7% / 96.9% / 98.8% by channel.

Is #0cf7fc a light or a dark color?

It is a light color. Relative luminance is 0.7363 and perceived brightness is 81%, so black text on it reaches 15.73:1.

Should I use black or white text on #0cf7fc?

Black. It scores 15.73:1 against #0cf7fc, versus 1.34:1 for white — AAA at any size.

What is the complementary color of #0cf7fc?

#FC110C sits directly opposite on the wheel. Softer options are the split-complements #FC0C7F and #FC890C, which give the same contrast with far less vibration.

What colors go well with #0cf7fc?

For interface work: #F4FAFA as the surface, #C0ECED for borders, #4B999B for secondary text, #FF0942 as an accent and #027B7E for hover and pressed states. For a palette, the analogous pair #0CFC89 and #0C7FFC stays calm, while #FC110C is the loudest partner.

What is #0cf7fc in CMYK for printing?

cmyk(95%, 2%, 0%, 1%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #0cf7fc warm or cool?

Cool — it scores 88 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #0CFCA9; nudged cooler, #0AC2FF.

Work with #0cf7fc in the Color Lab