#CF52BA#CF52BA

#CF52BA is a light, vivid pink. Relative luminance 0.228; OKLCH L 63.7% C 0.197 H 334.8°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#CF52BA
RGBrgb(207, 82, 186)
HSLhsl(310, 57%, 57%)
HSVhsv(310, 60%, 81%)
CMYKcmyk(0%, 60.4%, 10.1%, 18.8%)
CIE-LABlab(54.92, 61.42, -30.86)
CIE-LCHlch(54.92, 68.74, 333.32°)
OKLaboklab(63.7% 0.1782 -0.084)
OKLCHoklch(63.7% 0.197 334.8)
XYZxyz(37.6126, 22.8481, 48.8740)
Luminance0.2284 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF52BA #52CF67
analogous
#A652CF #CF52BA #CF527C
triadic
#CF52BA #BACF52 #52BACF
tetradic
#CF52BA #CFA652 #52CF67 #527CCF
square
#CF52BA #CFA652 #52CF67 #527CCF
split-complementary
#CF52BA #7CCF52 #52CFA6
monochromatic
#822473 #B2319D #CF52BA #DC82CD #EAB2E0

Accessibility & contrast

On white

3.77
#CF52BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#CF52BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF52BA
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF52BA#FFFFFF#000000##000000
##CF52BA1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5178BD
Deuteranopia (green-blind)
#798AB7
Tritanopia (blue-blind)
#D85A7F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cf52ba;
/* rgb */ color: rgb(207, 82, 186);
/* oklch */ color: oklch(63.7% 0.197 334.8);
Tailwind
colors: {
  custom: {
    50: '#e18acf',
    500: '#cf52ba',
    950: '#000000',
  },
}
SCSS
$custom: #cf52ba;
$custom-light: #e18acf;
$custom-dark: #000000;
JSON
{
  "hex": "#cf52ba",
  "rgb": {
    "r": 207,
    "g": 82,
    "b": 186
  },
  "hsl": {
    "h": 310.08,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63695,
    "c": 0.19701,
    "h": 334.8
  },
  "luminance": 0.22845
}

Semantic roles & 50–950 ramp

primary
#CF52BA
secondary
#A5D8AD
accent
#E06148
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #CF52BA

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

Preview Lab → · Contrast checker → · Palette generator →

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