#CF52AD#CF52AD

#CF52AD is a light, vivid pink. Relative luminance 0.223; OKLCH L 63.1% C 0.188 H 339.7°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#CF52AD
RGBrgb(207, 82, 173)
HSLhsl(316, 57%, 57%)
HSVhsv(316, 60%, 81%)
CMYKcmyk(0%, 60.4%, 16.4%, 18.8%)
CIE-LABlab(54.37, 59.44, -24.18)
CIE-LCHlch(54.37, 64.17, 337.86°)
OKLaboklab(63.11% 0.176 -0.0651)
OKLCHoklch(63.11% 0.188 339.7)
XYZxyz(36.2930, 22.3202, 41.9238)
Luminance0.2232 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF52AD #52CF74
analogous
#B352CF #CF52AD #CF526F
triadic
#CF52AD #ADCF52 #52ADCF
tetradic
#CF52AD #CFB352 #52CF74 #526FCF
square
#CF52AD #CFB352 #52CF74 #526FCF
split-complementary
#CF52AD #6FCF52 #52CFB3
monochromatic
#822469 #B2318F #CF52AD #DC82C4 #EAB2DA

Accessibility & contrast

On white

3.84
#CF52AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#CF52AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF52AD
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF52AD#FFFFFF#000000##000000
##CF52AD1.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5875B0
Deuteranopia (green-blind)
#7D89AA
Tritanopia (blue-blind)
#DA5578
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cf52ad;
/* rgb */ color: rgb(207, 82, 173);
/* oklch */ color: oklch(63.1% 0.188 339.7);
Tailwind
colors: {
  custom: {
    50: '#e189c5',
    500: '#cf52ad',
    950: '#000000',
  },
}
SCSS
$custom: #cf52ad;
$custom-light: #e189c5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf52ad",
  "rgb": {
    "r": 207,
    "g": 82,
    "b": 173
  },
  "hsl": {
    "h": 316.32,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63111,
    "c": 0.1876,
    "h": 339.7
  },
  "luminance": 0.22317
}

Semantic roles & 50–950 ramp

primary
#CF52AD
secondary
#A5D8B3
accent
#E07148
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CF52AD

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

Preview Lab → · Contrast checker → · Palette generator →

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