#F052DD#F052DD

#F052DD is a light, highly saturated purple. Relative luminance 0.298; OKLCH L 70.0% C 0.243 H 333.0°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#F052DD
RGBrgb(240, 82, 221)
HSLhsl(307, 84%, 63%)
HSVhsv(307, 66%, 94%)
CMYKcmyk(0%, 65.8%, 7.9%, 5.9%)
CIE-LABlab(61.47, 75.04, -40.19)
CIE-LCHlch(61.47, 85.12, 331.82°)
OKLaboklab(69.96% 0.2162 -0.1101)
OKLCHoklch(69.96% 0.243 333)
XYZxyz(52.0038, 29.7845, 71.4026)
Luminance0.2978 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F052DD #52F065
analogous
#B452F0 #F052DD #F0528E
triadic
#F052DD #DDF052 #52DDF0
tetradic
#F052DD #F0B452 #52F065 #528EF0
square
#F052DD #F0B452 #52F065 #528EF0
split-complementary
#F052DD #8EF052 #52F0B4
monochromatic
#B810A4 #EB1AD2 #F052DD #F58AE8 #FAC3F3

Accessibility & contrast

On white

3.02
#F052DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#F052DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F052DD
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F052DD#FFFFFF#000000##000000
##F052DD1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D86E1
Deuteranopia (green-blind)
#839DD9
Tritanopia (blue-blind)
#FA6091
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #f052dd;
/* rgb */ color: rgb(240, 82, 221);
/* oklch */ color: oklch(70.0% 0.243 333.0);
Tailwind
colors: {
  custom: {
    50: '#f98ee8',
    500: '#f052dd',
    950: '#000000',
  },
}
SCSS
$custom: #f052dd;
$custom-light: #f98ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#f052dd",
  "rgb": {
    "r": 240,
    "g": 82,
    "b": 221
  },
  "hsl": {
    "h": 307.215,
    "s": 84.043,
    "l": 63.137
  },
  "oklch": {
    "l": 0.6996,
    "c": 0.24262,
    "h": 333
  },
  "luminance": 0.2978
}

Semantic roles & 50–950 ramp

primary
#F052DD
secondary
#B3EBB9
accent
#E01F05
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #F052DD

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

Preview Lab → · Contrast checker → · Palette generator →

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