#C951A2#C951A2

#C951A2 is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.7% C 0.177 H 342.3°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#C951A2
RGBrgb(201, 81, 162)
HSLhsl(320, 53%, 55%)
HSVhsv(320, 60%, 79%)
CMYKcmyk(0%, 59.7%, 19.4%, 21.2%)
CIE-LABlab(52.86, 56.58, -20.15)
CIE-LCHlch(52.86, 60.06, 340.40°)
OKLaboklab(61.68% 0.1688 -0.0538)
OKLCHoklch(61.68% 0.177 342.3)
XYZxyz(33.5523, 20.9140, 36.4451)
Luminance0.2091 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C951A2 #51C978
analogous
#B451C9 #C951A2 #C95166
triadic
#C951A2 #A2C951 #51A2C9
tetradic
#C951A2 #C9B451 #51C978 #5166C9
square
#C951A2 #C9B451 #51C978 #5166C9
split-complementary
#C951A2 #66C951 #51C9B4
monochromatic
#7A265E #A93483 #C951A2 #D780BB #E6AED4

Accessibility & contrast

On white

4.05
#C951A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#C951A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C951A2
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C951A2#FFFFFF#000000##000000
##C951A21.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A72A5
Deuteranopia (green-blind)
#7C859F
Tritanopia (blue-blind)
#D55272
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c951a2;
/* rgb */ color: rgb(201, 81, 162);
/* oklch */ color: oklch(61.7% 0.177 342.3);
Tailwind
colors: {
  custom: {
    50: '#dc88bd',
    500: '#c951a2',
    950: '#000000',
  },
}
SCSS
$custom: #c951a2;
$custom-light: #dc88bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c951a2",
  "rgb": {
    "r": 201,
    "g": 81,
    "b": 162
  },
  "hsl": {
    "h": 319.5,
    "s": 52.632,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61676,
    "c": 0.17713,
    "h": 342.3
  },
  "luminance": 0.20911
}

Semantic roles & 50–950 ramp

primary
#C951A2
secondary
#A2D4B2
accent
#DC7B4C
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C951A2

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

Preview Lab → · Contrast checker → · Palette generator →

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