#C951AC#C951AC

#C951AC is a light, vivid pink. Relative luminance 0.213; OKLCH L 62.1% C 0.184 H 338.1°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#C951AC
RGBrgb(201, 81, 172)
HSLhsl(315, 53%, 55%)
HSVhsv(315, 60%, 79%)
CMYKcmyk(0%, 59.7%, 14.4%, 21.2%)
CIE-LABlab(53.26, 58.06, -25.38)
CIE-LCHlch(53.26, 63.36, 336.39°)
OKLaboklab(62.11% 0.1708 -0.0685)
OKLCHoklch(62.11% 0.184 338.1)
XYZxyz(34.4767, 21.2838, 41.3141)
Luminance0.2128 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C951AC #51C96E
analogous
#AA51C9 #C951AC #C95170
triadic
#C951AC #ACC951 #51ACC9
tetradic
#C951AC #C9AA51 #51C96E #5170C9
square
#C951AC #C9AA51 #51C96E #5170C9
split-complementary
#C951AC #70C951 #51C9AA
monochromatic
#7A2665 #A9348C #C951AC #D780C2 #E6AED9

Accessibility & contrast

On white

4.00
#C951AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#C951AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C951AC
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C951AC#FFFFFF#000000##000000
##C951AC1.004.005.265.26
#FFFFFF4.001.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5573AF
Deuteranopia (green-blind)
#7986A9
Tritanopia (blue-blind)
#D35577
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c951ac;
/* rgb */ color: rgb(201, 81, 172);
/* oklch */ color: oklch(62.1% 0.184 338.1);
Tailwind
colors: {
  custom: {
    50: '#dc88c5',
    500: '#c951ac',
    950: '#000000',
  },
}
SCSS
$custom: #c951ac;
$custom-light: #dc88c5;
$custom-dark: #000000;
JSON
{
  "hex": "#c951ac",
  "rgb": {
    "r": 201,
    "g": 81,
    "b": 172
  },
  "hsl": {
    "h": 314.5,
    "s": 52.632,
    "l": 55.294
  },
  "oklch": {
    "l": 0.62105,
    "c": 0.18404,
    "h": 338.1
  },
  "luminance": 0.21281
}

Semantic roles & 50–950 ramp

primary
#C951AC
secondary
#A2D4AE
accent
#DC6F4C
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C951AC

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

Preview Lab → · Contrast checker → · Palette generator →

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