#C951B1#C951B1

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

Color values

HEX#C951B1
RGBrgb(201, 81, 177)
HSLhsl(312, 53%, 55%)
HSVhsv(312, 60%, 79%)
CMYKcmyk(0%, 59.7%, 11.9%, 21.2%)
CIE-LABlab(53.47, 58.83, -27.96)
CIE-LCHlch(53.47, 65.13, 334.57°)
OKLaboklab(62.33% 0.1717 -0.0758)
OKLCHoklch(62.33% 0.188 336.2)
XYZxyz(34.9660, 21.4795, 43.8908)
Luminance0.2148 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C951B1 #51C969
analogous
#A551C9 #C951B1 #C95175
triadic
#C951B1 #B1C951 #51B1C9
tetradic
#C951B1 #C9A551 #51C969 #5175C9
square
#C951B1 #C9A551 #51C969 #5175C9
split-complementary
#C951B1 #75C951 #51C9A5
monochromatic
#7A2669 #A93491 #C951B1 #D780C6 #E6AEDB

Accessibility & contrast

On white

3.97
#C951B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C951B1#FFFFFF#000000##000000
##C951B11.003.975.305.30
#FFFFFF3.971.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5374B4
Deuteranopia (green-blind)
#7786AE
Tritanopia (blue-blind)
#D3577A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #c951b1;
/* rgb */ color: rgb(201, 81, 177);
/* oklch */ color: oklch(62.3% 0.188 336.2);
Tailwind
colors: {
  custom: {
    50: '#dc88c8',
    500: '#c951b1',
    950: '#000000',
  },
}
SCSS
$custom: #c951b1;
$custom-light: #dc88c8;
$custom-dark: #000000;
JSON
{
  "hex": "#c951b1",
  "rgb": {
    "r": 201,
    "g": 81,
    "b": 177
  },
  "hsl": {
    "h": 312,
    "s": 52.632,
    "l": 55.294
  },
  "oklch": {
    "l": 0.6233,
    "c": 0.18771,
    "h": 336.2
  },
  "luminance": 0.21477
}

Semantic roles & 50–950 ramp

primary
#C951B1
secondary
#A2D4AC
accent
#DC694C
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C951B1

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

Preview Lab → · Contrast checker → · Palette generator →

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