#C951AB#C951AB

#C951AB is a light, vivid pink. Relative luminance 0.212; OKLCH L 62.1% C 0.183 H 338.5°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#C951AB
RGBrgb(201, 81, 171)
HSLhsl(315, 53%, 55%)
HSVhsv(315, 60%, 79%)
CMYKcmyk(0%, 59.7%, 14.9%, 21.2%)
CIE-LABlab(53.22, 57.91, -24.86)
CIE-LCHlch(53.22, 63.02, 336.77°)
OKLaboklab(62.06% 0.1706 -0.0671)
OKLCHoklch(62.06% 0.183 338.5)
XYZxyz(34.3811, 21.2455, 40.8102)
Luminance0.2124 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C951AB #51C96F
analogous
#AB51C9 #C951AB #C9516F
triadic
#C951AB #ABC951 #51ABC9
tetradic
#C951AB #C9AB51 #51C96F #516FC9
square
#C951AB #C9AB51 #51C96F #516FC9
split-complementary
#C951AB #6FC951 #51C9AB
monochromatic
#7A2665 #A9348B #C951AB #D780C2 #E6AED8

Accessibility & contrast

On white

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

On black

5.25
#C951AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C951AB
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C951AB#FFFFFF#000000##000000
##C951AB1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5673AE
Deuteranopia (green-blind)
#7986A8
Tritanopia (blue-blind)
#D35577
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c951ab;
/* rgb */ color: rgb(201, 81, 171);
/* oklch */ color: oklch(62.1% 0.183 338.5);
Tailwind
colors: {
  custom: {
    50: '#dc88c4',
    500: '#c951ab',
    950: '#000000',
  },
}
SCSS
$custom: #c951ab;
$custom-light: #dc88c4;
$custom-dark: #000000;
JSON
{
  "hex": "#c951ab",
  "rgb": {
    "r": 201,
    "g": 81,
    "b": 171
  },
  "hsl": {
    "h": 315,
    "s": 52.632,
    "l": 55.294
  },
  "oklch": {
    "l": 0.62061,
    "c": 0.18333,
    "h": 338.5
  },
  "luminance": 0.21243
}

Semantic roles & 50–950 ramp

primary
#C951AB
secondary
#A2D4AE
accent
#DC704C
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C12
muted
#837D81

Preview Lab

Preview with #C951AB

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

Preview Lab → · Contrast checker → · Palette generator →

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