#CF52AF#CF52AF

#CF52AF is a light, vivid pink. Relative luminance 0.224; OKLCH L 63.2% C 0.189 H 338.9°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#CF52AF
RGBrgb(207, 82, 175)
HSLhsl(315, 57%, 57%)
HSVhsv(315, 60%, 81%)
CMYKcmyk(0%, 60.4%, 15.5%, 18.8%)
CIE-LABlab(54.45, 59.74, -25.22)
CIE-LCHlch(54.45, 64.84, 337.11°)
OKLaboklab(63.2% 0.1763 -0.068)
OKLCHoklch(63.2% 0.189 338.9)
XYZxyz(36.4879, 22.3982, 42.9507)
Luminance0.2240 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF52AF #52CF72
analogous
#B152CF #CF52AF #CF5271
triadic
#CF52AF #AFCF52 #52AFCF
tetradic
#CF52AF #CFB152 #52CF72 #5271CF
square
#CF52AF #CFB152 #52CF72 #5271CF
split-complementary
#CF52AF #71CF52 #52CFB1
monochromatic
#82246A #B23191 #CF52AF #DC82C5 #EAB2DB

Accessibility & contrast

On white

3.83
#CF52AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#CF52AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF52AF
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF52AF#FFFFFF#000000##000000
##CF52AF1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5776B2
Deuteranopia (green-blind)
#7D89AC
Tritanopia (blue-blind)
#DA5679
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cf52af;
/* rgb */ color: rgb(207, 82, 175);
/* oklch */ color: oklch(63.2% 0.189 338.9);
Tailwind
colors: {
  custom: {
    50: '#e18ac7',
    500: '#cf52af',
    950: '#000000',
  },
}
SCSS
$custom: #cf52af;
$custom-light: #e18ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf52af",
  "rgb": {
    "r": 207,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 315.36,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63198,
    "c": 0.18898,
    "h": 338.9
  },
  "luminance": 0.22395
}

Semantic roles & 50–950 ramp

primary
#CF52AF
secondary
#A5D8B2
accent
#E06F48
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CF52AF

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

Preview Lab → · Contrast checker → · Palette generator →

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