#CF51AC#CF51AC

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

Color values

HEX#CF51AC
RGBrgb(207, 81, 172)
HSLhsl(317, 57%, 56%)
HSVhsv(317, 61%, 81%)
CMYKcmyk(0%, 60.9%, 16.9%, 18.8%)
CIE-LABlab(54.17, 59.73, -23.90)
CIE-LCHlch(54.17, 64.33, 338.19°)
OKLaboklab(62.95% 0.177 -0.0643)
OKLCHoklch(62.95% 0.188 340)
XYZxyz(36.1217, 22.1319, 41.3912)
Luminance0.2213 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF51AC #51CF74
analogous
#B351CF #CF51AC #CF516D
triadic
#CF51AC #ACCF51 #51ACCF
tetradic
#CF51AC #CFB351 #51CF74 #516DCF
square
#CF51AC #CFB351 #51CF74 #516DCF
split-complementary
#CF51AC #6DCF51 #51CFB3
monochromatic
#822468 #B2318E #CF51AC #DC81C3 #E9B1DA

Accessibility & contrast

On white

3.87
#CF51AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF51AC#FFFFFF#000000##000000
##CF51AC1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5875AF
Deuteranopia (green-blind)
#7D89A9
Tritanopia (blue-blind)
#DA5477
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cf51ac;
/* rgb */ color: rgb(207, 81, 172);
/* oklch */ color: oklch(63.0% 0.188 340.0);
Tailwind
colors: {
  custom: {
    50: '#e189c5',
    500: '#cf51ac',
    950: '#000000',
  },
}
SCSS
$custom: #cf51ac;
$custom-light: #e189c5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf51ac",
  "rgb": {
    "r": 207,
    "g": 81,
    "b": 172
  },
  "hsl": {
    "h": 316.667,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.62952,
    "c": 0.18835,
    "h": 340
  },
  "luminance": 0.22129
}

Semantic roles & 50–950 ramp

primary
#CF51AC
secondary
#A4D8B2
accent
#E07248
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #CF51AC

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

Preview Lab → · Contrast checker → · Palette generator →

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