#CF52AB#CF52AB

#CF52AB is a light, vivid pink. Relative luminance 0.222; OKLCH L 63.0% C 0.186 H 340.5°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#CF52AB
RGBrgb(207, 82, 171)
HSLhsl(317, 57%, 57%)
HSVhsv(317, 60%, 81%)
CMYKcmyk(0%, 60.4%, 17.4%, 18.8%)
CIE-LABlab(54.28, 59.15, -23.14)
CIE-LCHlch(54.28, 63.52, 338.63°)
OKLaboklab(63.03% 0.1756 -0.0621)
OKLCHoklch(63.03% 0.186 340.5)
XYZxyz(36.1009, 22.2434, 40.9123)
Luminance0.2224 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF52AB #52CF76
analogous
#B552CF #CF52AB #CF526D
triadic
#CF52AB #ABCF52 #52ABCF
tetradic
#CF52AB #CFB552 #52CF76 #526DCF
square
#CF52AB #CFB552 #52CF76 #526DCF
split-complementary
#CF52AB #6DCF52 #52CFB5
monochromatic
#822467 #B2318D #CF52AB #DC82C2 #EAB2DA

Accessibility & contrast

On white

3.85
#CF52AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#CF52AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF52AB
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF52AB#FFFFFF#000000##000000
##CF52AB1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5975AE
Deuteranopia (green-blind)
#7E89A8
Tritanopia (blue-blind)
#DA5477
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cf52ab;
/* rgb */ color: rgb(207, 82, 171);
/* oklch */ color: oklch(63.0% 0.186 340.5);
Tailwind
colors: {
  custom: {
    50: '#e189c4',
    500: '#cf52ab',
    950: '#000000',
  },
}
SCSS
$custom: #cf52ab;
$custom-light: #e189c4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf52ab",
  "rgb": {
    "r": 207,
    "g": 82,
    "b": 171
  },
  "hsl": {
    "h": 317.28,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63025,
    "c": 0.18623,
    "h": 340.5
  },
  "luminance": 0.2224
}

Semantic roles & 50–950 ramp

primary
#CF52AB
secondary
#A5D8B4
accent
#E07448
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #CF52AB

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

Preview Lab → · Contrast checker → · Palette generator →

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