#F07DCB#F07DCB

#F07DCB is a light, vivid pink. Relative luminance 0.375; OKLCH L 74.3% C 0.167 H 340.9°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#F07DCB
RGBrgb(240, 125, 203)
HSLhsl(319, 79%, 72%)
HSVhsv(319, 48%, 94%)
CMYKcmyk(0%, 47.9%, 15.4%, 5.9%)
CIE-LABlab(67.66, 53.65, -20.53)
CIE-LCHlch(67.66, 57.45, 339.06°)
OKLaboklab(74.28% 0.1582 -0.0548)
OKLCHoklch(74.28% 0.167 340.9)
XYZxyz(54.0490, 37.5082, 60.8814)
Luminance0.3750 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07DCB #7DF0A2
analogous
#DB7DF0 #F07DCB #F07D92
triadic
#F07DCB #CBF07D #7DCBF0
tetradic
#F07DCB #F0DB7D #7DF0A2 #7D92F0
square
#F07DCB #F0DB7D #7DF0A2 #7D92F0
split-complementary
#F07DCB #92F07D #7DF0DB
monochromatic
#DA199C #EA46B5 #F07DCB #F6B4E1 #FCE4F4

Accessibility & contrast

On white

2.47
#F07DCB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#F07DCB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07DCB
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07DCB#FFFFFF#000000##000000
##F07DCB1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8399CE
Deuteranopia (green-blind)
#A2ACC8
Tritanopia (blue-blind)
#FC7F9B
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f07dcb;
/* rgb */ color: rgb(240, 125, 203);
/* oklch */ color: oklch(74.3% 0.167 340.9);
Tailwind
colors: {
  custom: {
    50: '#f7a6db',
    500: '#f07dcb',
    950: '#000000',
  },
}
SCSS
$custom: #f07dcb;
$custom-light: #f7a6db;
$custom-dark: #000000;
JSON
{
  "hex": "#f07dcb",
  "rgb": {
    "r": 240,
    "g": 125,
    "b": 203
  },
  "hsl": {
    "h": 319.304,
    "s": 79.31,
    "l": 71.569
  },
  "oklch": {
    "l": 0.7428,
    "c": 0.1674,
    "h": 340.9
  },
  "luminance": 0.37504
}

Semantic roles & 50–950 ramp

primary
#F07DCB
secondary
#D6F3DF
accent
#DC4D0A
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#171015
muted
#857F83

Preview Lab

Preview with #F07DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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