#F052E1#F052E1

#F052E1 is a light, highly saturated purple. Relative luminance 0.300; OKLCH L 70.2% C 0.246 H 331.9°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#F052E1
RGBrgb(240, 82, 225)
HSLhsl(306, 84%, 63%)
HSVhsv(306, 66%, 94%)
CMYKcmyk(0%, 65.8%, 6.3%, 5.9%)
CIE-LABlab(61.65, 75.64, -42.15)
CIE-LCHlch(61.65, 86.59, 330.87°)
OKLaboklab(70.16% 0.2166 -0.1157)
OKLCHoklch(70.16% 0.246 331.9)
XYZxyz(52.5431, 30.0002, 74.2428)
Luminance0.3000 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F052E1 #52F061
analogous
#B052F0 #F052E1 #F05292
triadic
#F052E1 #E1F052 #52E1F0
tetradic
#F052E1 #F0B052 #52F061 #5292F0
square
#F052E1 #F0B052 #52F061 #5292F0
split-complementary
#F052E1 #92F052 #52F0B0
monochromatic
#B810A8 #EB1AD7 #F052E1 #F58AEB #FAC3F5

Accessibility & contrast

On white

3.00
#F052E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#F052E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F052E1
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F052E1#FFFFFF#000000##000000
##F052E11.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4987E5
Deuteranopia (green-blind)
#819DDD
Tritanopia (blue-blind)
#FA6293
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #f052e1;
/* rgb */ color: rgb(240, 82, 225);
/* oklch */ color: oklch(70.2% 0.246 331.9);
Tailwind
colors: {
  custom: {
    50: '#f98eeb',
    500: '#f052e1',
    950: '#000000',
  },
}
SCSS
$custom: #f052e1;
$custom-light: #f98eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#f052e1",
  "rgb": {
    "r": 240,
    "g": 82,
    "b": 225
  },
  "hsl": {
    "h": 305.696,
    "s": 84.043,
    "l": 63.137
  },
  "oklch": {
    "l": 0.70156,
    "c": 0.24552,
    "h": 331.9
  },
  "luminance": 0.29996
}

Semantic roles & 50–950 ramp

primary
#F052E1
secondary
#B3EBB8
accent
#E01A05
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #F052E1

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

Preview Lab → · Contrast checker → · Palette generator →

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