#C951B2#C951B2

#C951B2 is a light, vivid pink. Relative luminance 0.215; OKLCH L 62.4% C 0.188 H 335.8°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#C951B2
RGBrgb(201, 81, 178)
HSLhsl(312, 53%, 55%)
HSVhsv(312, 60%, 79%)
CMYKcmyk(0%, 59.7%, 11.4%, 21.2%)
CIE-LABlab(53.51, 58.98, -28.48)
CIE-LCHlch(53.51, 65.50, 334.23°)
OKLaboklab(62.38% 0.1719 -0.0773)
OKLCHoklch(62.38% 0.188 335.8)
XYZxyz(35.0660, 21.5195, 44.4176)
Luminance0.2152 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C951B2 #51C968
analogous
#A451C9 #C951B2 #C95176
triadic
#C951B2 #B2C951 #51B2C9
tetradic
#C951B2 #C9A451 #51C968 #5176C9
square
#C951B2 #C9A451 #51C968 #5176C9
split-complementary
#C951B2 #76C951 #51C9A4
monochromatic
#7A266A #A93492 #C951B2 #D780C7 #E6AEDB

Accessibility & contrast

On white

3.96
#C951B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#C951B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C951B2
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C951B2#FFFFFF#000000##000000
##C951B21.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5274B5
Deuteranopia (green-blind)
#7786AF
Tritanopia (blue-blind)
#D2587A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #c951b2;
/* rgb */ color: rgb(201, 81, 178);
/* oklch */ color: oklch(62.4% 0.188 335.8);
Tailwind
colors: {
  custom: {
    50: '#dc89c9',
    500: '#c951b2',
    950: '#000000',
  },
}
SCSS
$custom: #c951b2;
$custom-light: #dc89c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c951b2",
  "rgb": {
    "r": 201,
    "g": 81,
    "b": 178
  },
  "hsl": {
    "h": 311.5,
    "s": 52.632,
    "l": 55.294
  },
  "oklch": {
    "l": 0.62375,
    "c": 0.18846,
    "h": 335.8
  },
  "luminance": 0.21517
}

Semantic roles & 50–950 ramp

primary
#C951B2
secondary
#A2D4AB
accent
#DC674C
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C951B2

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

Preview Lab → · Contrast checker → · Palette generator →

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