#F072DC#F072DC

#F072DC is a light, vivid purple. Relative luminance 0.357; OKLCH L 73.5% C 0.198 H 333.8°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#F072DC
RGBrgb(240, 114, 220)
HSLhsl(310, 81%, 69%)
HSVhsv(310, 53%, 94%)
CMYKcmyk(0%, 52.5%, 8.3%, 5.9%)
CIE-LABlab(66.31, 61.53, -32.08)
CIE-LCHlch(66.31, 69.39, 332.46°)
OKLaboklab(73.49% 0.1772 -0.0872)
OKLCHoklch(73.49% 0.198 333.8)
XYZxyz(54.8708, 35.7310, 71.7030)
Luminance0.3573 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F072DC #72F086
analogous
#C572F0 #F072DC #F0729D
triadic
#F072DC #DCF072 #72DCF0
tetradic
#F072DC #F0C572 #72F086 #729DF0
square
#F072DC #F0C572 #72F086 #729DF0
split-complementary
#F072DC #9DF072 #72F0C5
monochromatic
#D116B4 #EA3BCE #F072DC #F6A9EA #FCE1F7

Accessibility & contrast

On white

2.58
#F072DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#F072DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F072DC
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F072DC#FFFFFF#000000##000000
##F072DC1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7096DF
Deuteranopia (green-blind)
#95A8D9
Tritanopia (blue-blind)
#FA7A9D
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f072dc;
/* rgb */ color: rgb(240, 114, 220);
/* oklch */ color: oklch(73.5% 0.198 333.8);
Tailwind
colors: {
  custom: {
    50: '#f79fe7',
    500: '#f072dc',
    950: '#000000',
  },
}
SCSS
$custom: #f072dc;
$custom-light: #f79fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#f072dc",
  "rgb": {
    "r": 240,
    "g": 114,
    "b": 220
  },
  "hsl": {
    "h": 309.524,
    "s": 80.769,
    "l": 69.412
  },
  "oklch": {
    "l": 0.73494,
    "c": 0.1975,
    "h": 333.8
  },
  "luminance": 0.35727
}

Semantic roles & 50–950 ramp

primary
#F072DC
secondary
#CDF1D3
accent
#DD2A08
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F072DC

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

Preview Lab → · Contrast checker → · Palette generator →

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