#CF52A7#CF52A7

#CF52A7 is a light, vivid pink. Relative luminance 0.221; OKLCH L 62.9% C 0.184 H 342.1°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#CF52A7
RGBrgb(207, 82, 167)
HSLhsl(319, 57%, 57%)
HSVhsv(319, 60%, 81%)
CMYKcmyk(0%, 60.4%, 19.3%, 18.8%)
CIE-LABlab(54.13, 58.58, -21.05)
CIE-LCHlch(54.13, 62.24, 340.23°)
OKLaboklab(62.86% 0.1747 -0.0563)
OKLCHoklch(62.86% 0.184 342.1)
XYZxyz(35.7254, 22.0932, 38.9346)
Luminance0.2209 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF52A7 #52CF7A
analogous
#B952CF #CF52A7 #CF5269
triadic
#CF52A7 #A7CF52 #52A7CF
tetradic
#CF52A7 #CFB952 #52CF7A #5269CF
square
#CF52A7 #CFB952 #52CF7A #5269CF
split-complementary
#CF52A7 #69CF52 #52CFB9
monochromatic
#822464 #B23189 #CF52A7 #DC82BF #EAB2D8

Accessibility & contrast

On white

3.88
#CF52A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#CF52A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF52A7
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF52A7#FFFFFF#000000##000000
##CF52A71.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B74AA
Deuteranopia (green-blind)
#7F89A4
Tritanopia (blue-blind)
#DB5375
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cf52a7;
/* rgb */ color: rgb(207, 82, 167);
/* oklch */ color: oklch(62.9% 0.184 342.1);
Tailwind
colors: {
  custom: {
    50: '#e189c1',
    500: '#cf52a7',
    950: '#000000',
  },
}
SCSS
$custom: #cf52a7;
$custom-light: #e189c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf52a7",
  "rgb": {
    "r": 207,
    "g": 82,
    "b": 167
  },
  "hsl": {
    "h": 319.2,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.62856,
    "c": 0.18354,
    "h": 342.1
  },
  "luminance": 0.2209
}

Semantic roles & 50–950 ramp

primary
#CF52A7
secondary
#A5D8B5
accent
#E07948
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CF52A7

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

Preview Lab → · Contrast checker → · Palette generator →

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