#F052DB#F052DB

#F052DB is a light, highly saturated purple. Relative luminance 0.297; OKLCH L 69.9% C 0.241 H 333.6°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#F052DB
RGBrgb(240, 82, 219)
HSLhsl(308, 84%, 63%)
HSVhsv(308, 66%, 94%)
CMYKcmyk(0%, 65.8%, 8.8%, 5.9%)
CIE-LABlab(61.38, 74.74, -39.21)
CIE-LCHlch(61.38, 84.40, 332.31°)
OKLaboklab(69.86% 0.216 -0.1072)
OKLCHoklch(69.86% 0.241 333.6)
XYZxyz(51.7389, 29.6785, 70.0076)
Luminance0.2967 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F052DB #52F067
analogous
#B652F0 #F052DB #F0528C
triadic
#F052DB #DBF052 #52DBF0
tetradic
#F052DB #F0B652 #52F067 #528CF0
square
#F052DB #F0B652 #52F067 #528CF0
split-complementary
#F052DB #8CF052 #52F0B6
monochromatic
#B810A1 #EB1ACF #F052DB #F58AE7 #FAC3F2

Accessibility & contrast

On white

3.03
#F052DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#F052DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F052DB
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F052DB#FFFFFF#000000##000000
##F052DB1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E85DF
Deuteranopia (green-blind)
#849CD7
Tritanopia (blue-blind)
#FB5F90
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #f052db;
/* rgb */ color: rgb(240, 82, 219);
/* oklch */ color: oklch(69.9% 0.241 333.6);
Tailwind
colors: {
  custom: {
    50: '#f98ee6',
    500: '#f052db',
    950: '#000000',
  },
}
SCSS
$custom: #f052db;
$custom-light: #f98ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#f052db",
  "rgb": {
    "r": 240,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 307.975,
    "s": 84.043,
    "l": 63.137
  },
  "oklch": {
    "l": 0.69863,
    "c": 0.24119,
    "h": 333.6
  },
  "luminance": 0.29674
}

Semantic roles & 50–950 ramp

primary
#F052DB
secondary
#B3EBBA
accent
#E02205
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #F052DB

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

Preview Lab → · Contrast checker → · Palette generator →

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