#F07CD9#F07CD9

#F07CD9 is a light, vivid pink. Relative luminance 0.380; OKLCH L 74.7% C 0.179 H 335.2°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#F07CD9
RGBrgb(240, 124, 217)
HSLhsl(312, 79%, 71%)
HSVhsv(312, 48%, 94%)
CMYKcmyk(0%, 48.3%, 9.6%, 5.9%)
CIE-LABlab(67.99, 56.32, -27.83)
CIE-LCHlch(67.99, 62.82, 333.70°)
OKLaboklab(74.7% 0.1629 -0.0752)
OKLCHoklch(74.7% 0.179 335.2)
XYZxyz(55.6673, 37.9540, 70.0260)
Luminance0.3795 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07CD9 #7CF093
analogous
#CD7CF0 #F07CD9 #F07C9F
triadic
#F07CD9 #D9F07C #7CD9F0
tetradic
#F07CD9 #F0CD7C #7CF093 #7C9FF0
square
#F07CD9 #F0CD7C #7CF093 #7C9FF0
split-complementary
#F07CD9 #9FF07C #7CF0CD
monochromatic
#D919B3 #EA45C9 #F07CD9 #F6B3E9 #FCE4F7

Accessibility & contrast

On white

2.44
#F07CD9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#F07CD9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07CD9
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07CD9#FFFFFF#000000##000000
##F07CD91.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C9BDC
Deuteranopia (green-blind)
#9DACD6
Tritanopia (blue-blind)
#FA82A1
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f07cd9;
/* rgb */ color: rgb(240, 124, 217);
/* oklch */ color: oklch(74.7% 0.179 335.2);
Tailwind
colors: {
  custom: {
    50: '#f7a5e5',
    500: '#f07cd9',
    950: '#000000',
  },
}
SCSS
$custom: #f07cd9;
$custom-light: #f7a5e5;
$custom-dark: #000000;
JSON
{
  "hex": "#f07cd9",
  "rgb": {
    "r": 240,
    "g": 124,
    "b": 217
  },
  "hsl": {
    "h": 311.897,
    "s": 79.452,
    "l": 71.373
  },
  "oklch": {
    "l": 0.74696,
    "c": 0.17942,
    "h": 335.2
  },
  "luminance": 0.3795
}

Semantic roles & 50–950 ramp

primary
#F07CD9
secondary
#D5F3DB
accent
#DC330A
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#171015
muted
#857F84

Preview Lab

Preview with #F07CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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