#F07CD6#F07CD6

#F07CD6 is a light, vivid pink. Relative luminance 0.378; OKLCH L 74.6% C 0.177 H 336.4°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#F07CD6
RGBrgb(240, 124, 214)
HSLhsl(313, 79%, 71%)
HSVhsv(313, 48%, 94%)
CMYKcmyk(0%, 48.3%, 10.8%, 5.9%)
CIE-LABlab(67.87, 55.84, -26.34)
CIE-LCHlch(67.87, 61.74, 334.75°)
OKLaboklab(74.57% 0.1622 -0.071)
OKLCHoklch(74.57% 0.177 336.4)
XYZxyz(55.2807, 37.7993, 67.9896)
Luminance0.3780 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07CD6 #7CF096
analogous
#D07CF0 #F07CD6 #F07C9C
triadic
#F07CD6 #D6F07C #7CD6F0
tetradic
#F07CD6 #F0D07C #7CF096 #7C9CF0
square
#F07CD6 #F0D07C #7CF096 #7C9CF0
split-complementary
#F07CD6 #9CF07C #7CF0D0
monochromatic
#D919AE #EA45C5 #F07CD6 #F6B3E7 #FCE4F6

Accessibility & contrast

On white

2.45
#F07CD6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#F07CD6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07CD6
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07CD6#FFFFFF#000000##000000
##F07CD61.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E9AD9
Deuteranopia (green-blind)
#9EACD3
Tritanopia (blue-blind)
#FA819F
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f07cd6;
/* rgb */ color: rgb(240, 124, 214);
/* oklch */ color: oklch(74.6% 0.177 336.4);
Tailwind
colors: {
  custom: {
    50: '#f7a5e2',
    500: '#f07cd6',
    950: '#000000',
  },
}
SCSS
$custom: #f07cd6;
$custom-light: #f7a5e2;
$custom-dark: #000000;
JSON
{
  "hex": "#f07cd6",
  "rgb": {
    "r": 240,
    "g": 124,
    "b": 214
  },
  "hsl": {
    "h": 313.448,
    "s": 79.452,
    "l": 71.373
  },
  "oklch": {
    "l": 0.74573,
    "c": 0.1771,
    "h": 336.4
  },
  "luminance": 0.37796
}

Semantic roles & 50–950 ramp

primary
#F07CD6
secondary
#D5F3DC
accent
#DC390A
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#171015
muted
#857F83

Preview Lab

Preview with #F07CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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