#C951AF#C951AF

#C951AF is a light, vivid pink. Relative luminance 0.214; OKLCH L 62.2% C 0.186 H 336.9°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#C951AF
RGBrgb(201, 81, 175)
HSLhsl(313, 53%, 55%)
HSVhsv(313, 60%, 79%)
CMYKcmyk(0%, 59.7%, 12.9%, 21.2%)
CIE-LABlab(53.38, 58.52, -26.93)
CIE-LCHlch(53.38, 64.42, 335.28°)
OKLaboklab(62.24% 0.1714 -0.0729)
OKLCHoklch(62.24% 0.186 336.9)
XYZxyz(34.7681, 21.4003, 42.8486)
Luminance0.2140 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C951AF #51C96B
analogous
#A751C9 #C951AF #C95173
triadic
#C951AF #AFC951 #51AFC9
tetradic
#C951AF #C9A751 #51C96B #5173C9
square
#C951AF #C9A751 #51C96B #5173C9
split-complementary
#C951AF #73C951 #51C9A7
monochromatic
#7A2668 #A9348F #C951AF #D780C4 #E6AEDA

Accessibility & contrast

On white

3.98
#C951AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#C951AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C951AF
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C951AF#FFFFFF#000000##000000
##C951AF1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5474B2
Deuteranopia (green-blind)
#7886AC
Tritanopia (blue-blind)
#D35679
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c951af;
/* rgb */ color: rgb(201, 81, 175);
/* oklch */ color: oklch(62.2% 0.186 336.9);
Tailwind
colors: {
  custom: {
    50: '#dc88c7',
    500: '#c951af',
    950: '#000000',
  },
}
SCSS
$custom: #c951af;
$custom-light: #dc88c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c951af",
  "rgb": {
    "r": 201,
    "g": 81,
    "b": 175
  },
  "hsl": {
    "h": 313,
    "s": 52.632,
    "l": 55.294
  },
  "oklch": {
    "l": 0.62239,
    "c": 0.18623,
    "h": 336.9
  },
  "luminance": 0.21398
}

Semantic roles & 50–950 ramp

primary
#C951AF
secondary
#A2D4AD
accent
#DC6B4C
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C951AF

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

Preview Lab → · Contrast checker → · Palette generator →

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