#F07CD2#F07CD2

#F07CD2 is a light, vivid pink. Relative luminance 0.376; OKLCH L 74.4% C 0.174 H 337.9°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#F07CD2
RGBrgb(240, 124, 210)
HSLhsl(316, 79%, 71%)
HSVhsv(316, 48%, 94%)
CMYKcmyk(0%, 48.3%, 12.5%, 5.9%)
CIE-LABlab(67.72, 55.22, -24.34)
CIE-LCHlch(67.72, 60.34, 336.21°)
OKLaboklab(74.41% 0.1613 -0.0654)
OKLCHoklch(74.41% 0.174 337.9)
XYZxyz(54.7761, 37.5975, 65.3323)
Luminance0.3759 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07CD2 #7CF09A
analogous
#D47CF0 #F07CD2 #F07C98
triadic
#F07CD2 #D2F07C #7CD2F0
tetradic
#F07CD2 #F0D47C #7CF09A #7C98F0
square
#F07CD2 #F0D47C #7CF09A #7C98F0
split-complementary
#F07CD2 #98F07C #7CF0D4
monochromatic
#D919A7 #EA45BF #F07CD2 #F6B3E5 #FCE4F6

Accessibility & contrast

On white

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

On black

8.52
#F07CD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07CD2
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07CD2#FFFFFF#000000##000000
##F07CD21.002.478.528.52
#FFFFFF2.471.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F9AD5
Deuteranopia (green-blind)
#9FACCF
Tritanopia (blue-blind)
#FB809D
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f07cd2;
/* rgb */ color: rgb(240, 124, 210);
/* oklch */ color: oklch(74.4% 0.174 337.9);
Tailwind
colors: {
  custom: {
    50: '#f7a5e0',
    500: '#f07cd2',
    950: '#000000',
  },
}
SCSS
$custom: #f07cd2;
$custom-light: #f7a5e0;
$custom-dark: #000000;
JSON
{
  "hex": "#f07cd2",
  "rgb": {
    "r": 240,
    "g": 124,
    "b": 210
  },
  "hsl": {
    "h": 315.517,
    "s": 79.452,
    "l": 71.373
  },
  "oklch": {
    "l": 0.74413,
    "c": 0.17407,
    "h": 337.9
  },
  "luminance": 0.37594
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F07CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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