#CF52A4#CF52A4

#CF52A4 is a light, vivid pink. Relative luminance 0.220; OKLCH L 62.7% C 0.182 H 343.4°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#CF52A4
RGBrgb(207, 82, 164)
HSLhsl(321, 57%, 57%)
HSVhsv(321, 60%, 81%)
CMYKcmyk(0%, 60.4%, 20.8%, 18.8%)
CIE-LABlab(54.01, 58.15, -19.47)
CIE-LCHlch(54.01, 61.33, 341.49°)
OKLaboklab(62.73% 0.174 -0.0519)
OKLCHoklch(62.73% 0.182 343.4)
XYZxyz(35.4513, 21.9835, 37.4909)
Luminance0.2198 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF52A4 #52CF7D
analogous
#BC52CF #CF52A4 #CF5266
triadic
#CF52A4 #A4CF52 #52A4CF
tetradic
#CF52A4 #CFBC52 #52CF7D #5266CF
square
#CF52A4 #CFBC52 #52CF7D #5266CF
split-complementary
#CF52A4 #66CF52 #52CFBC
monochromatic
#822462 #B23186 #CF52A4 #DC82BD #EAB2D6

Accessibility & contrast

On white

3.89
#CF52A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#CF52A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF52A4
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF52A4#FFFFFF#000000##000000
##CF52A41.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C74A7
Deuteranopia (green-blind)
#8089A1
Tritanopia (blue-blind)
#DB5274
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cf52a4;
/* rgb */ color: rgb(207, 82, 164);
/* oklch */ color: oklch(62.7% 0.182 343.4);
Tailwind
colors: {
  custom: {
    50: '#e189bf',
    500: '#cf52a4',
    950: '#000000',
  },
}
SCSS
$custom: #cf52a4;
$custom-light: #e189bf;
$custom-dark: #000000;
JSON
{
  "hex": "#cf52a4",
  "rgb": {
    "r": 207,
    "g": 82,
    "b": 164
  },
  "hsl": {
    "h": 320.64,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.62733,
    "c": 0.1816,
    "h": 343.4
  },
  "luminance": 0.2198
}

Semantic roles & 50–950 ramp

primary
#CF52A4
secondary
#A5D8B6
accent
#E07C48
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CF52A4

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

Preview Lab → · Contrast checker → · Palette generator →

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