#F07CD1#F07CD1

#F07CD1 is a light, vivid pink. Relative luminance 0.375; OKLCH L 74.4% C 0.173 H 338.3°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#F07CD1
RGBrgb(240, 124, 209)
HSLhsl(316, 79%, 71%)
HSVhsv(316, 48%, 94%)
CMYKcmyk(0%, 48.3%, 12.9%, 5.9%)
CIE-LABlab(67.69, 55.06, -23.84)
CIE-LCHlch(67.69, 60.00, 336.59°)
OKLaboklab(74.37% 0.1611 -0.064)
OKLCHoklch(74.37% 0.173 338.3)
XYZxyz(54.6519, 37.5478, 64.6782)
Luminance0.3754 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07CD1 #7CF09B
analogous
#D57CF0 #F07CD1 #F07C97
triadic
#F07CD1 #D1F07C #7CD1F0
tetradic
#F07CD1 #F0D57C #7CF09B #7C97F0
square
#F07CD1 #F0D57C #7CF09B #7C97F0
split-complementary
#F07CD1 #97F07C #7CF0D5
monochromatic
#D919A5 #EA45BE #F07CD1 #F6B3E4 #FCE4F5

Accessibility & contrast

On white

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

On black

8.51
#F07CD1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07CD1
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07CD1#FFFFFF#000000##000000
##F07CD11.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#809AD4
Deuteranopia (green-blind)
#9FABCE
Tritanopia (blue-blind)
#FB7F9D
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f07cd1;
/* rgb */ color: rgb(240, 124, 209);
/* oklch */ color: oklch(74.4% 0.173 338.3);
Tailwind
colors: {
  custom: {
    50: '#f7a5df',
    500: '#f07cd1',
    950: '#000000',
  },
}
SCSS
$custom: #f07cd1;
$custom-light: #f7a5df;
$custom-dark: #000000;
JSON
{
  "hex": "#f07cd1",
  "rgb": {
    "r": 240,
    "g": 124,
    "b": 209
  },
  "hsl": {
    "h": 316.034,
    "s": 79.452,
    "l": 71.373
  },
  "oklch": {
    "l": 0.74373,
    "c": 0.17334,
    "h": 338.3
  },
  "luminance": 0.37544
}

Semantic roles & 50–950 ramp

primary
#F07CD1
secondary
#D5F3DD
accent
#DC420A
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#171015
muted
#857F83

Preview Lab

Preview with #F07CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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