#F072E8#F072E8

#F072E8 is a light, highly saturated purple. Relative luminance 0.364; OKLCH L 74.0% C 0.207 H 329.9°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#F072E8
RGBrgb(240, 114, 232)
HSLhsl(304, 81%, 69%)
HSVhsv(304, 53%, 94%)
CMYKcmyk(0%, 52.5%, 3.3%, 5.9%)
CIE-LABlab(66.82, 63.49, -37.97)
CIE-LCHlch(66.82, 73.97, 329.12°)
OKLaboklab(74.03% 0.1792 -0.1039)
OKLCHoklch(74.03% 0.207 329.9)
XYZxyz(56.5175, 36.3896, 80.3753)
Luminance0.3639 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F072E8 #72F07A
analogous
#B972F0 #F072E8 #F072A9
triadic
#F072E8 #E8F072 #72E8F0
tetradic
#F072E8 #F0B972 #72F07A #72A9F0
square
#F072E8 #F0B972 #72F07A #72A9F0
split-complementary
#F072E8 #A9F072 #72F0B9
monochromatic
#D116C5 #EA3BDF #F072E8 #F6A9F1 #FCE1FA

Accessibility & contrast

On white

2.54
#F072E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#F072E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F072E8
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F072E8#FFFFFF#000000##000000
##F072E81.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A98EC
Deuteranopia (green-blind)
#90A9E4
Tritanopia (blue-blind)
#F87EA3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f072e8;
/* rgb */ color: rgb(240, 114, 232);
/* oklch */ color: oklch(74.0% 0.207 329.9);
Tailwind
colors: {
  custom: {
    50: '#f8a0ef',
    500: '#f072e8',
    950: '#000000',
  },
}
SCSS
$custom: #f072e8;
$custom-light: #f8a0ef;
$custom-dark: #000000;
JSON
{
  "hex": "#f072e8",
  "rgb": {
    "r": 240,
    "g": 114,
    "b": 232
  },
  "hsl": {
    "h": 303.81,
    "s": 80.769,
    "l": 69.412
  },
  "oklch": {
    "l": 0.74029,
    "c": 0.20716,
    "h": 329.9
  },
  "luminance": 0.36386
}

Semantic roles & 50–950 ramp

primary
#F072E8
secondary
#CDF1CF
accent
#DD1608
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F072E8

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

Preview Lab → · Contrast checker → · Palette generator →

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