#F06CAB#F06CAB

#F06CAB is a light, vivid pink. Relative luminance 0.322; OKLCH L 70.8% C 0.175 H 352.7°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#F06CAB
RGBrgb(240, 108, 171)
HSLhsl(331, 81%, 68%)
HSVhsv(331, 55%, 94%)
CMYKcmyk(0%, 55%, 28.8%, 5.9%)
CIE-LABlab(63.50, 57.27, -8.71)
CIE-LCHlch(63.50, 57.93, 351.35°)
OKLaboklab(70.83% 0.1737 -0.0224)
OKLCHoklch(70.83% 0.175 352.7)
XYZxyz(48.6504, 32.1953, 42.1723)
Luminance0.3219 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06CAB #6CF0B1
analogous
#F06CED #F06CAB #F06F6C
triadic
#F06CAB #ABF06C #6CABF0
tetradic
#F06CAB #EDF06C #6CF0B1 #6F6CF0
square
#F06CAB #EDF06C #6CF0B1 #6F6CF0
split-complementary
#F06CAB #6CF06F #6CEDF0
monochromatic
#CD156D #EA348B #F06CAB #F6A4CB #FBDBEA

Accessibility & contrast

On white

2.82
#F06CAB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#F06CAB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06CAB
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06CAB#FFFFFF#000000##000000
##F06CAB1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8BAD
Deuteranopia (green-blind)
#A1A3A8
Tritanopia (blue-blind)
#FF6584
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #f06cab;
/* rgb */ color: rgb(240, 108, 171);
/* oklch */ color: oklch(70.8% 0.175 352.7);
Tailwind
colors: {
  custom: {
    50: '#f89bc4',
    500: '#f06cab',
    950: '#000000',
  },
}
SCSS
$custom: #f06cab;
$custom-light: #f89bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#f06cab",
  "rgb": {
    "r": 240,
    "g": 108,
    "b": 171
  },
  "hsl": {
    "h": 331.364,
    "s": 81.481,
    "l": 68.235
  },
  "oklch": {
    "l": 0.70827,
    "c": 0.17508,
    "h": 352.7
  },
  "luminance": 0.32191
}

Semantic roles & 50–950 ramp

primary
#F06CAB
secondary
#C8F0DD
accent
#DE7808
background
#FFF9FC
surface
#FFF2F8
border
#D7CCD1
text
#180E12
muted
#867E81

Preview Lab

Preview with #F06CAB

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#F06CAB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva