#CF52B7#CF52B7

#CF52B7 is a light, vivid pink. Relative luminance 0.227; OKLCH L 63.6% C 0.195 H 335.9°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#CF52B7
RGBrgb(207, 82, 183)
HSLhsl(312, 57%, 57%)
HSVhsv(312, 60%, 81%)
CMYKcmyk(0%, 60.4%, 11.6%, 18.8%)
CIE-LABlab(54.78, 60.95, -29.33)
CIE-LCHlch(54.78, 67.64, 334.30°)
OKLaboklab(63.56% 0.1777 -0.0796)
OKLCHoklch(63.56% 0.195 335.9)
XYZxyz(37.2970, 22.7218, 47.2119)
Luminance0.2272 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF52B7 #52CF6A
analogous
#A952CF #CF52B7 #CF5279
triadic
#CF52B7 #B7CF52 #52B7CF
tetradic
#CF52B7 #CFA952 #52CF6A #5279CF
square
#CF52B7 #CFA952 #52CF6A #5279CF
split-complementary
#CF52B7 #79CF52 #52CFA9
monochromatic
#822470 #B2319A #CF52B7 #DC82CB #EAB2DF

Accessibility & contrast

On white

3.79
#CF52B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#CF52B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF52B7
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF52B7#FFFFFF#000000##000000
##CF52B71.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5377BA
Deuteranopia (green-blind)
#7A8AB4
Tritanopia (blue-blind)
#D9597D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cf52b7;
/* rgb */ color: rgb(207, 82, 183);
/* oklch */ color: oklch(63.6% 0.195 335.9);
Tailwind
colors: {
  custom: {
    50: '#e18acd',
    500: '#cf52b7',
    950: '#000000',
  },
}
SCSS
$custom: #cf52b7;
$custom-light: #e18acd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf52b7",
  "rgb": {
    "r": 207,
    "g": 82,
    "b": 183
  },
  "hsl": {
    "h": 311.52,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63556,
    "c": 0.19477,
    "h": 335.9
  },
  "luminance": 0.22719
}

Semantic roles & 50–950 ramp

primary
#CF52B7
secondary
#A5D8AF
accent
#E06548
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #CF52B7

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

Preview Lab → · Contrast checker → · Palette generator →

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