#CF51AD#CF51AD

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

Color values

HEX#CF51AD
RGBrgb(207, 81, 173)
HSLhsl(316, 57%, 56%)
HSVhsv(316, 61%, 81%)
CMYKcmyk(0%, 60.9%, 16.4%, 18.8%)
CIE-LABlab(54.21, 59.87, -24.42)
CIE-LCHlch(54.21, 64.66, 337.81°)
OKLaboklab(63% 0.1772 -0.0657)
OKLCHoklch(63% 0.189 339.6)
XYZxyz(36.2181, 22.1705, 41.8989)
Luminance0.2217 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF51AD #51CF73
analogous
#B251CF #CF51AD #CF516E
triadic
#CF51AD #ADCF51 #51ADCF
tetradic
#CF51AD #CFB251 #51CF73 #516ECF
square
#CF51AD #CFB251 #51CF73 #516ECF
split-complementary
#CF51AD #6ECF51 #51CFB2
monochromatic
#822468 #B2318F #CF51AD #DC81C4 #E9B1DA

Accessibility & contrast

On white

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

On black

5.43
#CF51AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF51AD
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF51AD#FFFFFF#000000##000000
##CF51AD1.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5775B0
Deuteranopia (green-blind)
#7D89AA
Tritanopia (blue-blind)
#DA5478
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cf51ad;
/* rgb */ color: rgb(207, 81, 173);
/* oklch */ color: oklch(63.0% 0.189 339.6);
Tailwind
colors: {
  custom: {
    50: '#e189c5',
    500: '#cf51ad',
    950: '#000000',
  },
}
SCSS
$custom: #cf51ad;
$custom-light: #e189c5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf51ad",
  "rgb": {
    "r": 207,
    "g": 81,
    "b": 173
  },
  "hsl": {
    "h": 316.19,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.62995,
    "c": 0.18903,
    "h": 339.6
  },
  "luminance": 0.22167
}

Semantic roles & 50–950 ramp

primary
#CF51AD
secondary
#A4D8B2
accent
#E07148
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CF51AD

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

Preview Lab → · Contrast checker → · Palette generator →

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