#F07DC2#F07DC2

#F07DC2 is a light, vivid pink. Relative luminance 0.371; OKLCH L 73.9% C 0.161 H 344.8°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#F07DC2
RGBrgb(240, 125, 194)
HSLhsl(324, 79%, 72%)
HSVhsv(324, 48%, 94%)
CMYKcmyk(0%, 47.9%, 19.2%, 5.9%)
CIE-LABlab(67.35, 52.31, -15.96)
CIE-LCHlch(67.35, 54.70, 343.03°)
OKLaboklab(73.95% 0.1558 -0.0422)
OKLCHoklch(73.95% 0.161 344.8)
XYZxyz(53.0075, 37.0916, 55.3960)
Luminance0.3709 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07DC2 #7DF0AB
analogous
#E57DF0 #F07DC2 #F07D89
triadic
#F07DC2 #C2F07D #7DC2F0
tetradic
#F07DC2 #F0E57D #7DF0AB #7D89F0
square
#F07DC2 #F0E57D #7DF0AB #7D89F0
split-complementary
#F07DC2 #89F07D #7DF0E5
monochromatic
#DA198D #EA46A8 #F07DC2 #F6B4DC #FCE4F2

Accessibility & contrast

On white

2.49
#F07DC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#F07DC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07DC2
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07DC2#FFFFFF#000000##000000
##F07DC21.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8698C4
Deuteranopia (green-blind)
#A4ABBF
Tritanopia (blue-blind)
#FD7C97
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f07dc2;
/* rgb */ color: rgb(240, 125, 194);
/* oklch */ color: oklch(73.9% 0.161 344.8);
Tailwind
colors: {
  custom: {
    50: '#f7a6d4',
    500: '#f07dc2',
    950: '#000000',
  },
}
SCSS
$custom: #f07dc2;
$custom-light: #f7a6d4;
$custom-dark: #000000;
JSON
{
  "hex": "#f07dc2",
  "rgb": {
    "r": 240,
    "g": 125,
    "b": 194
  },
  "hsl": {
    "h": 324,
    "s": 79.31,
    "l": 71.569
  },
  "oklch": {
    "l": 0.73945,
    "c": 0.16139,
    "h": 344.8
  },
  "luminance": 0.37088
}

Semantic roles & 50–950 ramp

primary
#F07DC2
secondary
#D6F3E1
accent
#DC5E0A
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#171014
muted
#857F83

Preview Lab

Preview with #F07DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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