#CF52B2#CF52B2

#CF52B2 is a light, vivid pink. Relative luminance 0.225; OKLCH L 63.3% C 0.191 H 337.7°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#CF52B2
RGBrgb(207, 82, 178)
HSLhsl(314, 57%, 57%)
HSVhsv(314, 60%, 81%)
CMYKcmyk(0%, 60.4%, 14%, 18.8%)
CIE-LABlab(54.57, 60.19, -26.77)
CIE-LCHlch(54.57, 65.87, 336.02°)
OKLaboklab(63.33% 0.1769 -0.0724)
OKLCHoklch(63.33% 0.191 337.7)
XYZxyz(36.7858, 22.5174, 44.5197)
Luminance0.2251 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF52B2 #52CF6F
analogous
#AE52CF #CF52B2 #CF5274
triadic
#CF52B2 #B2CF52 #52B2CF
tetradic
#CF52B2 #CFAE52 #52CF6F #5274CF
square
#CF52B2 #CFAE52 #52CF6F #5274CF
split-complementary
#CF52B2 #74CF52 #52CFAE
monochromatic
#82246D #B23194 #CF52B2 #DC82C7 #EAB2DD

Accessibility & contrast

On white

3.82
#CF52B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#CF52B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF52B2
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF52B2#FFFFFF#000000##000000
##CF52B21.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5676B5
Deuteranopia (green-blind)
#7C8AAF
Tritanopia (blue-blind)
#D9577B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cf52b2;
/* rgb */ color: rgb(207, 82, 178);
/* oklch */ color: oklch(63.3% 0.191 337.7);
Tailwind
colors: {
  custom: {
    50: '#e18ac9',
    500: '#cf52b2',
    950: '#000000',
  },
}
SCSS
$custom: #cf52b2;
$custom-light: #e18ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf52b2",
  "rgb": {
    "r": 207,
    "g": 82,
    "b": 178
  },
  "hsl": {
    "h": 313.92,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.6333,
    "c": 0.19112,
    "h": 337.7
  },
  "luminance": 0.22514
}

Semantic roles & 50–950 ramp

primary
#CF52B2
secondary
#A5D8B1
accent
#E06B48
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CF52B2

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

Preview Lab → · Contrast checker → · Palette generator →

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