#CF52B3#CF52B3

#CF52B3 is a light, vivid pink. Relative luminance 0.226; OKLCH L 63.4% C 0.192 H 337.4°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#CF52B3
RGBrgb(207, 82, 179)
HSLhsl(313, 57%, 57%)
HSVhsv(313, 60%, 81%)
CMYKcmyk(0%, 60.4%, 13.5%, 18.8%)
CIE-LABlab(54.61, 60.34, -27.28)
CIE-LCHlch(54.61, 66.22, 335.67°)
OKLaboklab(63.38% 0.1771 -0.0738)
OKLCHoklch(63.38% 0.192 337.4)
XYZxyz(36.8866, 22.5577, 45.0504)
Luminance0.2256 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF52B3 #52CF6E
analogous
#AD52CF #CF52B3 #CF5275
triadic
#CF52B3 #B3CF52 #52B3CF
tetradic
#CF52B3 #CFAD52 #52CF6E #5275CF
square
#CF52B3 #CFAD52 #52CF6E #5275CF
split-complementary
#CF52B3 #75CF52 #52CFAD
monochromatic
#82246D #B23195 #CF52B3 #DC82C8 #EAB2DD

Accessibility & contrast

On white

3.81
#CF52B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#CF52B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF52B3
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF52B3#FFFFFF#000000##000000
##CF52B31.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5576B6
Deuteranopia (green-blind)
#7B8AB0
Tritanopia (blue-blind)
#D9577B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cf52b3;
/* rgb */ color: rgb(207, 82, 179);
/* oklch */ color: oklch(63.4% 0.192 337.4);
Tailwind
colors: {
  custom: {
    50: '#e18aca',
    500: '#cf52b3',
    950: '#000000',
  },
}
SCSS
$custom: #cf52b3;
$custom-light: #e18aca;
$custom-dark: #000000;
JSON
{
  "hex": "#cf52b3",
  "rgb": {
    "r": 207,
    "g": 82,
    "b": 179
  },
  "hsl": {
    "h": 313.44,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63375,
    "c": 0.19184,
    "h": 337.4
  },
  "luminance": 0.22555
}

Semantic roles & 50–950 ramp

primary
#CF52B3
secondary
#A5D8B0
accent
#E06A48
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CF52B3

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

Preview Lab → · Contrast checker → · Palette generator →

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