#F052D9#F052D9

#F052D9 is a light, highly saturated purple. Relative luminance 0.296; OKLCH L 69.8% C 0.240 H 334.2°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#F052D9
RGBrgb(240, 82, 217)
HSLhsl(309, 84%, 63%)
HSVhsv(309, 66%, 94%)
CMYKcmyk(0%, 65.8%, 9.6%, 5.9%)
CIE-LABlab(61.28, 74.44, -38.23)
CIE-LCHlch(61.28, 83.68, 332.82°)
OKLaboklab(69.77% 0.2158 -0.1044)
OKLCHoklch(69.77% 0.24 334.2)
XYZxyz(51.4772, 29.5738, 68.6293)
Luminance0.2957 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F052D9 #52F069
analogous
#B852F0 #F052D9 #F0528A
triadic
#F052D9 #D9F052 #52D9F0
tetradic
#F052D9 #F0B852 #52F069 #528AF0
square
#F052D9 #F0B852 #52F069 #528AF0
split-complementary
#F052D9 #8AF052 #52F0B8
monochromatic
#B8109F #EB1ACD #F052D9 #F58AE5 #FAC3F2

Accessibility & contrast

On white

3.04
#F052D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#F052D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F052D9
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F052D9#FFFFFF#000000##000000
##F052D91.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5085DD
Deuteranopia (green-blind)
#859CD5
Tritanopia (blue-blind)
#FB5E8F
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #f052d9;
/* rgb */ color: rgb(240, 82, 217);
/* oklch */ color: oklch(69.8% 0.240 334.2);
Tailwind
colors: {
  custom: {
    50: '#f98ee5',
    500: '#f052d9',
    950: '#000000',
  },
}
SCSS
$custom: #f052d9;
$custom-light: #f98ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#f052d9",
  "rgb": {
    "r": 240,
    "g": 82,
    "b": 217
  },
  "hsl": {
    "h": 308.734,
    "s": 84.043,
    "l": 63.137
  },
  "oklch": {
    "l": 0.69767,
    "c": 0.23976,
    "h": 334.2
  },
  "luminance": 0.2957
}

Semantic roles & 50–950 ramp

primary
#F052D9
secondary
#B3EBBB
accent
#E02505
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #F052D9

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

Preview Lab → · Contrast checker → · Palette generator →

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