#F072DF#F072DF

#F072DF is a light, vivid purple. Relative luminance 0.359; OKLCH L 73.6% C 0.200 H 332.8°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#F072DF
RGBrgb(240, 114, 223)
HSLhsl(308, 81%, 69%)
HSVhsv(308, 53%, 94%)
CMYKcmyk(0%, 52.5%, 7.1%, 5.9%)
CIE-LABlab(66.44, 62.01, -33.56)
CIE-LCHlch(66.44, 70.51, 331.58°)
OKLaboklab(73.63% 0.1778 -0.0914)
OKLCHoklch(73.63% 0.2 332.8)
XYZxyz(55.2717, 35.8913, 73.8143)
Luminance0.3589 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F072DF #72F083
analogous
#C272F0 #F072DF #F072A0
triadic
#F072DF #DFF072 #72DFF0
tetradic
#F072DF #F0C272 #72F083 #72A0F0
square
#F072DF #F0C272 #72F083 #72A0F0
split-complementary
#F072DF #A0F072 #72F0C2
monochromatic
#D116B8 #EA3BD2 #F072DF #F6A9EC #FCE1F8

Accessibility & contrast

On white

2.57
#F072DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#F072DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F072DF
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F072DF#FFFFFF#000000##000000
##F072DF1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F96E3
Deuteranopia (green-blind)
#94A8DB
Tritanopia (blue-blind)
#F97B9F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f072df;
/* rgb */ color: rgb(240, 114, 223);
/* oklch */ color: oklch(73.6% 0.200 332.8);
Tailwind
colors: {
  custom: {
    50: '#f79fe9',
    500: '#f072df',
    950: '#000000',
  },
}
SCSS
$custom: #f072df;
$custom-light: #f79fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#f072df",
  "rgb": {
    "r": 240,
    "g": 114,
    "b": 223
  },
  "hsl": {
    "h": 308.095,
    "s": 80.769,
    "l": 69.412
  },
  "oklch": {
    "l": 0.73625,
    "c": 0.19986,
    "h": 332.8
  },
  "luminance": 0.35888
}

Semantic roles & 50–950 ramp

primary
#F072DF
secondary
#CDF1D2
accent
#DD2508
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F072DF

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

Preview Lab → · Contrast checker → · Palette generator →

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