#F06BD4#F06BD4

#F06BD4 is a light, highly saturated pink. Relative luminance 0.338; OKLCH L 72.3% C 0.202 H 336.3°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#F06BD4
RGBrgb(240, 107, 212)
HSLhsl(313, 82%, 68%)
HSVhsv(313, 55%, 94%)
CMYKcmyk(0%, 55.4%, 11.7%, 5.9%)
CIE-LABlab(64.80, 63.46, -29.95)
CIE-LCHlch(64.80, 70.17, 334.73°)
OKLaboklab(72.27% 0.185 -0.0811)
OKLCHoklch(72.27% 0.202 336.3)
XYZxyz(53.0770, 33.7981, 66.0028)
Luminance0.3379 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06BD4 #6BF087
analogous
#CA6BF0 #F06BD4 #F06B91
triadic
#F06BD4 #D4F06B #6BD4F0
tetradic
#F06BD4 #F0CA6B #6BF087 #6B91F0
square
#F06BD4 #F0CA6B #6BF087 #6B91F0
split-complementary
#F06BD4 #91F06B #6BF0CA
monochromatic
#CC15A5 #EA33C4 #F06BD4 #F6A3E4 #FBDAF4

Accessibility & contrast

On white

2.71
#F06BD4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#F06BD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06BD4
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06BD4#FFFFFF#000000##000000
##F06BD41.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D90D7
Deuteranopia (green-blind)
#94A5D0
Tritanopia (blue-blind)
#FB7196
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #f06bd4;
/* rgb */ color: rgb(240, 107, 212);
/* oklch */ color: oklch(72.3% 0.202 336.3);
Tailwind
colors: {
  custom: {
    50: '#f89be1',
    500: '#f06bd4',
    950: '#000000',
  },
}
SCSS
$custom: #f06bd4;
$custom-light: #f89be1;
$custom-dark: #000000;
JSON
{
  "hex": "#f06bd4",
  "rgb": {
    "r": 240,
    "g": 107,
    "b": 212
  },
  "hsl": {
    "h": 312.632,
    "s": 81.595,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72271,
    "c": 0.20202,
    "h": 336.3
  },
  "luminance": 0.33794
}

Semantic roles & 50–950 ramp

primary
#F06BD4
secondary
#C7F0D0
accent
#DE3508
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180F15
muted
#867E83

Preview Lab

Preview with #F06BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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