#CF52B9#CF52B9

#CF52B9 is a light, vivid pink. Relative luminance 0.228; OKLCH L 63.6% C 0.196 H 335.1°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#CF52B9
RGBrgb(207, 82, 185)
HSLhsl(311, 57%, 57%)
HSVhsv(311, 60%, 81%)
CMYKcmyk(0%, 60.4%, 10.6%, 18.8%)
CIE-LABlab(54.87, 61.26, -30.36)
CIE-LCHlch(54.87, 68.37, 333.64°)
OKLaboklab(63.65% 0.1781 -0.0825)
OKLCHoklch(63.65% 0.196 335.1)
XYZxyz(37.5067, 22.8057, 48.3161)
Luminance0.2280 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF52B9 #52CF68
analogous
#A752CF #CF52B9 #CF527B
triadic
#CF52B9 #B9CF52 #52B9CF
tetradic
#CF52B9 #CFA752 #52CF68 #527BCF
square
#CF52B9 #CFA752 #52CF68 #527BCF
split-complementary
#CF52B9 #7BCF52 #52CFA7
monochromatic
#822472 #B2319C #CF52B9 #DC82CC #EAB2E0

Accessibility & contrast

On white

3.78
#CF52B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#CF52B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF52B9
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF52B9#FFFFFF#000000##000000
##CF52B91.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5277BC
Deuteranopia (green-blind)
#798AB6
Tritanopia (blue-blind)
#D85A7E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cf52b9;
/* rgb */ color: rgb(207, 82, 185);
/* oklch */ color: oklch(63.6% 0.196 335.1);
Tailwind
colors: {
  custom: {
    50: '#e18ace',
    500: '#cf52b9',
    950: '#000000',
  },
}
SCSS
$custom: #cf52b9;
$custom-light: #e18ace;
$custom-dark: #000000;
JSON
{
  "hex": "#cf52b9",
  "rgb": {
    "r": 207,
    "g": 82,
    "b": 185
  },
  "hsl": {
    "h": 310.56,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63648,
    "c": 0.19626,
    "h": 335.1
  },
  "luminance": 0.22803
}

Semantic roles & 50–950 ramp

primary
#CF52B9
secondary
#A5D8AE
accent
#E06348
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #CF52B9

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

Preview Lab → · Contrast checker → · Palette generator →

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