#CF52AC#CF52AC

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

Color values

HEX#CF52AC
RGBrgb(207, 82, 172)
HSLhsl(317, 57%, 57%)
HSVhsv(317, 60%, 81%)
CMYKcmyk(0%, 60.4%, 16.9%, 18.8%)
CIE-LABlab(54.32, 59.30, -23.66)
CIE-LCHlch(54.32, 63.84, 338.25°)
OKLaboklab(63.07% 0.1758 -0.0636)
OKLCHoklch(63.07% 0.187 340.1)
XYZxyz(36.1966, 22.2817, 41.4161)
Luminance0.2228 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF52AC #52CF75
analogous
#B452CF #CF52AC #CF526E
triadic
#CF52AC #ACCF52 #52ACCF
tetradic
#CF52AC #CFB452 #52CF75 #526ECF
square
#CF52AC #CFB452 #52CF75 #526ECF
split-complementary
#CF52AC #6ECF52 #52CFB4
monochromatic
#822468 #B2318E #CF52AC #DC82C3 #EAB2DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF52AC#FFFFFF#000000##000000
##CF52AC1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5975AF
Deuteranopia (green-blind)
#7E89A9
Tritanopia (blue-blind)
#DA5578
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cf52ac;
/* rgb */ color: rgb(207, 82, 172);
/* oklch */ color: oklch(63.1% 0.187 340.1);
Tailwind
colors: {
  custom: {
    50: '#e189c5',
    500: '#cf52ac',
    950: '#000000',
  },
}
SCSS
$custom: #cf52ac;
$custom-light: #e189c5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf52ac",
  "rgb": {
    "r": 207,
    "g": 82,
    "b": 172
  },
  "hsl": {
    "h": 316.8,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63068,
    "c": 0.18691,
    "h": 340.1
  },
  "luminance": 0.22279
}

Semantic roles & 50–950 ramp

primary
#CF52AC
secondary
#A5D8B3
accent
#E07248
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #CF52AC

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

Preview Lab → · Contrast checker → · Palette generator →

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