#CF52AA#CF52AA

#CF52AA is a light, vivid pink. Relative luminance 0.222; OKLCH L 63.0% C 0.186 H 340.9°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#CF52AA
RGBrgb(207, 82, 170)
HSLhsl(318, 57%, 57%)
HSVhsv(318, 60%, 81%)
CMYKcmyk(0%, 60.4%, 17.9%, 18.8%)
CIE-LABlab(54.24, 59.01, -22.62)
CIE-LCHlch(54.24, 63.19, 339.03°)
OKLaboklab(62.98% 0.1753 -0.0607)
OKLCHoklch(62.98% 0.186 340.9)
XYZxyz(36.0059, 22.2054, 40.4122)
Luminance0.2220 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF52AA #52CF77
analogous
#B652CF #CF52AA #CF526C
triadic
#CF52AA #AACF52 #52AACF
tetradic
#CF52AA #CFB652 #52CF77 #526CCF
square
#CF52AA #CFB652 #52CF77 #526CCF
split-complementary
#CF52AA #6CCF52 #52CFB6
monochromatic
#822467 #B2318C #CF52AA #DC82C2 #EAB2D9

Accessibility & contrast

On white

3.86
#CF52AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#CF52AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF52AA
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF52AA#FFFFFF#000000##000000
##CF52AA1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A75AD
Deuteranopia (green-blind)
#7E89A7
Tritanopia (blue-blind)
#DB5477
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cf52aa;
/* rgb */ color: rgb(207, 82, 170);
/* oklch */ color: oklch(63.0% 0.186 340.9);
Tailwind
colors: {
  custom: {
    50: '#e189c3',
    500: '#cf52aa',
    950: '#000000',
  },
}
SCSS
$custom: #cf52aa;
$custom-light: #e189c3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf52aa",
  "rgb": {
    "r": 207,
    "g": 82,
    "b": 170
  },
  "hsl": {
    "h": 317.76,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.62983,
    "c": 0.18554,
    "h": 340.9
  },
  "luminance": 0.22202
}

Semantic roles & 50–950 ramp

primary
#CF52AA
secondary
#A5D8B4
accent
#E07548
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #CF52AA

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

Preview Lab → · Contrast checker → · Palette generator →

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