#F06CB5#F06CB5

#F06CB5 is a light, vivid pink. Relative luminance 0.326; OKLCH L 71.2% C 0.180 H 348.3°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#F06CB5
RGBrgb(240, 108, 181)
HSLhsl(327, 81%, 68%)
HSVhsv(327, 55%, 94%)
CMYKcmyk(0%, 55%, 24.6%, 5.9%)
CIE-LABlab(63.83, 58.57, -13.93)
CIE-LCHlch(63.83, 60.20, 346.63°)
OKLaboklab(71.18% 0.1765 -0.0365)
OKLCHoklch(71.18% 0.18 348.3)
XYZxyz(49.6399, 32.5911, 47.3835)
Luminance0.3259 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06CB5 #6CF0A7
analogous
#E96CF0 #F06CB5 #F06C73
triadic
#F06CB5 #B5F06C #6CB5F0
tetradic
#F06CB5 #F0E96C #6CF0A7 #6C73F0
square
#F06CB5 #F0E96C #6CF0A7 #6C73F0
split-complementary
#F06CB5 #73F06C #6CF0E9
monochromatic
#CD157B #EA3499 #F06CB5 #F6A4D1 #FBDBED

Accessibility & contrast

On white

2.79
#F06CB5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#F06CB5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06CB5
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06CB5#FFFFFF#000000##000000
##F06CB51.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8CB7
Deuteranopia (green-blind)
#9EA3B2
Tritanopia (blue-blind)
#FF6889
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #f06cb5;
/* rgb */ color: rgb(240, 108, 181);
/* oklch */ color: oklch(71.2% 0.180 348.3);
Tailwind
colors: {
  custom: {
    50: '#f89bcb',
    500: '#f06cb5',
    950: '#000000',
  },
}
SCSS
$custom: #f06cb5;
$custom-light: #f89bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#f06cb5",
  "rgb": {
    "r": 240,
    "g": 108,
    "b": 181
  },
  "hsl": {
    "h": 326.818,
    "s": 81.481,
    "l": 68.235
  },
  "oklch": {
    "l": 0.71175,
    "c": 0.18025,
    "h": 348.3
  },
  "luminance": 0.32587
}

Semantic roles & 50–950 ramp

primary
#F06CB5
secondary
#C8F0DA
accent
#DE6708
background
#FFF9FC
surface
#FFF2F8
border
#D7CCD1
text
#180E13
muted
#867E82

Preview Lab

Preview with #F06CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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