#F072F2#F072F2

#F072F2 is a light, highly saturated purple. Relative luminance 0.370; OKLCH L 74.5% C 0.216 H 326.9°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#F072F2
RGBrgb(240, 114, 242)
HSLhsl(299, 83%, 70%)
HSVhsv(299, 53%, 95%)
CMYKcmyk(0.8%, 52.9%, 0%, 5.1%)
CIE-LABlab(67.26, 65.18, -42.80)
CIE-LCHlch(67.26, 77.97, 326.71°)
OKLaboklab(74.5% 0.1805 -0.1178)
OKLCHoklch(74.5% 0.216 326.9)
XYZxyz(57.9785, 36.9740, 88.0700)
Luminance0.3697 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F072F2 #74F272
analogous
#B072F2 #F072F2 #F272B4
triadic
#F072F2 #F2F072 #72F2F0
tetradic
#F072F2 #F2B072 #74F272 #72B4F2
square
#F072F2 #F2B072 #74F272 #72B4F2
split-complementary
#F072F2 #B4F272 #72F2B0
monochromatic
#D314D6 #EA3AED #F072F2 #F6AAF7 #FCE2FC

Accessibility & contrast

On white

2.50
#F072F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#F072F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F072F2
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F072F2#FFFFFF#000000##000000
##F072F21.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6499F6
Deuteranopia (green-blind)
#8CA9EE
Tritanopia (blue-blind)
#F681A8
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f072f2;
/* rgb */ color: rgb(240, 114, 242);
/* oklch */ color: oklch(74.5% 0.216 326.9);
Tailwind
colors: {
  custom: {
    50: '#f8a0f7',
    500: '#f072f2',
    950: '#000000',
  },
}
SCSS
$custom: #f072f2;
$custom-light: #f8a0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#f072f2",
  "rgb": {
    "r": 240,
    "g": 114,
    "b": 242
  },
  "hsl": {
    "h": 299.063,
    "s": 83.117,
    "l": 69.804
  },
  "oklch": {
    "l": 0.74498,
    "c": 0.21558,
    "h": 326.9
  },
  "luminance": 0.36971
}

Semantic roles & 50–950 ramp

primary
#F072F2
secondary
#CEF2CE
accent
#E00609
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#180F17
muted
#867F85

Preview Lab

Preview with #F072F2

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

Preview Lab → · Contrast checker → · Palette generator →

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