#F052D7#F052D7

#F052D7 is a light, highly saturated purple. Relative luminance 0.295; OKLCH L 69.7% C 0.238 H 334.8°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#F052D7
RGBrgb(240, 82, 215)
HSLhsl(309, 84%, 63%)
HSVhsv(309, 66%, 94%)
CMYKcmyk(0%, 65.8%, 10.4%, 5.9%)
CIE-LABlab(61.19, 74.15, -37.24)
CIE-LCHlch(61.19, 82.97, 333.33°)
OKLaboklab(69.67% 0.2156 -0.1016)
OKLCHoklch(69.67% 0.238 334.8)
XYZxyz(51.2187, 29.4704, 67.2676)
Luminance0.2947 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F052D7 #52F06B
analogous
#BA52F0 #F052D7 #F05288
triadic
#F052D7 #D7F052 #52D7F0
tetradic
#F052D7 #F0BA52 #52F06B #5288F0
square
#F052D7 #F0BA52 #52F06B #5288F0
split-complementary
#F052D7 #88F052 #52F0BA
monochromatic
#B8109D #EB1ACA #F052D7 #F58AE4 #FAC3F1

Accessibility & contrast

On white

3.05
#F052D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#F052D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F052D7
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F052D7#FFFFFF#000000##000000
##F052D71.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5185DB
Deuteranopia (green-blind)
#869CD3
Tritanopia (blue-blind)
#FB5D8E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #f052d7;
/* rgb */ color: rgb(240, 82, 215);
/* oklch */ color: oklch(69.7% 0.238 334.8);
Tailwind
colors: {
  custom: {
    50: '#f98ee3',
    500: '#f052d7',
    950: '#000000',
  },
}
SCSS
$custom: #f052d7;
$custom-light: #f98ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#f052d7",
  "rgb": {
    "r": 240,
    "g": 82,
    "b": 215
  },
  "hsl": {
    "h": 309.494,
    "s": 84.043,
    "l": 63.137
  },
  "oklch": {
    "l": 0.69672,
    "c": 0.23835,
    "h": 334.8
  },
  "luminance": 0.29466
}

Semantic roles & 50–950 ramp

primary
#F052D7
secondary
#B3EBBC
accent
#E02805
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #F052D7

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

Preview Lab → · Contrast checker → · Palette generator →

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