#F07DCC#F07DCC

#F07DCC is a light, vivid pink. Relative luminance 0.376; OKLCH L 74.3% C 0.168 H 340.5°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#F07DCC
RGBrgb(240, 125, 204)
HSLhsl(319, 79%, 72%)
HSVhsv(319, 48%, 94%)
CMYKcmyk(0%, 47.9%, 15%, 5.9%)
CIE-LABlab(67.69, 53.80, -21.04)
CIE-LCHlch(67.69, 57.77, 338.65°)
OKLaboklab(74.32% 0.1584 -0.0562)
OKLCHoklch(74.32% 0.168 340.5)
XYZxyz(54.1685, 37.5560, 61.5110)
Luminance0.3755 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07DCC #7DF0A1
analogous
#DB7DF0 #F07DCC #F07D93
triadic
#F07DCC #CCF07D #7DCCF0
tetradic
#F07DCC #F0DB7D #7DF0A1 #7D93F0
square
#F07DCC #F0DB7D #7DF0A1 #7D93F0
split-complementary
#F07DCC #93F07D #7DF0DB
monochromatic
#DA199D #EA46B6 #F07DCC #F6B4E2 #FCE4F4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F07DCC#FFFFFF#000000##000000
##F07DCC1.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)
#829ACF
Deuteranopia (green-blind)
#A2ACC9
Tritanopia (blue-blind)
#FC7F9B
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f07dcc;
/* rgb */ color: rgb(240, 125, 204);
/* oklch */ color: oklch(74.3% 0.168 340.5);
Tailwind
colors: {
  custom: {
    50: '#f7a6db',
    500: '#f07dcc',
    950: '#000000',
  },
}
SCSS
$custom: #f07dcc;
$custom-light: #f7a6db;
$custom-dark: #000000;
JSON
{
  "hex": "#f07dcc",
  "rgb": {
    "r": 240,
    "g": 125,
    "b": 204
  },
  "hsl": {
    "h": 318.783,
    "s": 79.31,
    "l": 71.569
  },
  "oklch": {
    "l": 0.74318,
    "c": 0.1681,
    "h": 340.5
  },
  "luminance": 0.37552
}

Semantic roles & 50–950 ramp

primary
#F07DCC
secondary
#D6F3DF
accent
#DC4C0A
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#171015
muted
#857F83

Preview Lab

Preview with #F07DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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