#F072E7#F072E7

#F072E7 is a light, highly saturated purple. Relative luminance 0.363; OKLCH L 74.0% C 0.206 H 330.2°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#F072E7
RGBrgb(240, 114, 231)
HSLhsl(304, 81%, 69%)
HSVhsv(304, 53%, 94%)
CMYKcmyk(0%, 52.5%, 3.7%, 5.9%)
CIE-LABlab(66.77, 63.32, -37.48)
CIE-LCHlch(66.77, 73.58, 329.38°)
OKLaboklab(73.98% 0.179 -0.1025)
OKLCHoklch(73.98% 0.206 330.2)
XYZxyz(56.3758, 36.3330, 79.6294)
Luminance0.3633 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F072E7 #72F07B
analogous
#BA72F0 #F072E7 #F072A8
triadic
#F072E7 #E7F072 #72E7F0
tetradic
#F072E7 #F0BA72 #72F07B #72A8F0
square
#F072E7 #F0BA72 #72F07B #72A8F0
split-complementary
#F072E7 #A8F072 #72F0BA
monochromatic
#D116C4 #EA3BDE #F072E7 #F6A9F0 #FCE1FA

Accessibility & contrast

On white

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

On black

8.27
#F072E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F072E7
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F072E7#FFFFFF#000000##000000
##F072E71.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B97EB
Deuteranopia (green-blind)
#91A9E3
Tritanopia (blue-blind)
#F87DA2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f072e7;
/* rgb */ color: rgb(240, 114, 231);
/* oklch */ color: oklch(74.0% 0.206 330.2);
Tailwind
colors: {
  custom: {
    50: '#f8a0ef',
    500: '#f072e7',
    950: '#000000',
  },
}
SCSS
$custom: #f072e7;
$custom-light: #f8a0ef;
$custom-dark: #000000;
JSON
{
  "hex": "#f072e7",
  "rgb": {
    "r": 240,
    "g": 114,
    "b": 231
  },
  "hsl": {
    "h": 304.286,
    "s": 80.769,
    "l": 69.412
  },
  "oklch": {
    "l": 0.73984,
    "c": 0.20633,
    "h": 330.2
  },
  "luminance": 0.36329
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F072E7

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

Preview Lab → · Contrast checker → · Palette generator →

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