#F072E2#F072E2

#F072E2 is a light, highly saturated purple. Relative luminance 0.361; OKLCH L 73.8% C 0.202 H 331.8°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#F072E2
RGBrgb(240, 114, 226)
HSLhsl(307, 81%, 69%)
HSVhsv(307, 53%, 94%)
CMYKcmyk(0%, 52.5%, 5.8%, 5.9%)
CIE-LABlab(66.56, 62.50, -35.04)
CIE-LCHlch(66.56, 71.65, 330.73°)
OKLaboklab(73.76% 0.1783 -0.0956)
OKLCHoklch(73.76% 0.202 331.8)
XYZxyz(55.6797, 36.0545, 75.9633)
Luminance0.3605 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F072E2 #72F080
analogous
#BF72F0 #F072E2 #F072A3
triadic
#F072E2 #E2F072 #72E2F0
tetradic
#F072E2 #F0BF72 #72F080 #72A3F0
square
#F072E2 #F0BF72 #72F080 #72A3F0
split-complementary
#F072E2 #A3F072 #72F0BF
monochromatic
#D116BD #EA3BD7 #F072E2 #F6A9ED #FCE1F9

Accessibility & contrast

On white

2.56
#F072E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#F072E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F072E2
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F072E2#FFFFFF#000000##000000
##F072E21.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D97E6
Deuteranopia (green-blind)
#93A8DE
Tritanopia (blue-blind)
#F97CA0
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f072e2;
/* rgb */ color: rgb(240, 114, 226);
/* oklch */ color: oklch(73.8% 0.202 331.8);
Tailwind
colors: {
  custom: {
    50: '#f8a0eb',
    500: '#f072e2',
    950: '#000000',
  },
}
SCSS
$custom: #f072e2;
$custom-light: #f8a0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f072e2",
  "rgb": {
    "r": 240,
    "g": 114,
    "b": 226
  },
  "hsl": {
    "h": 306.667,
    "s": 80.769,
    "l": 69.412
  },
  "oklch": {
    "l": 0.73758,
    "c": 0.20226,
    "h": 331.8
  },
  "luminance": 0.36051
}

Semantic roles & 50–950 ramp

primary
#F072E2
secondary
#CDF1D1
accent
#DD2008
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F072E2

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

Preview Lab → · Contrast checker → · Palette generator →

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