#C951A4#C951A4

#C951A4 is a mid, vivid pink. Relative luminance 0.210; OKLCH L 61.8% C 0.178 H 341.4°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#C951A4
RGBrgb(201, 81, 164)
HSLhsl(319, 53%, 55%)
HSVhsv(319, 60%, 79%)
CMYKcmyk(0%, 59.7%, 18.4%, 21.2%)
CIE-LABlab(52.93, 56.87, -21.20)
CIE-LCHlch(52.93, 60.69, 339.55°)
OKLaboklab(61.76% 0.1692 -0.0568)
OKLCHoklch(61.76% 0.178 341.4)
XYZxyz(33.7314, 20.9856, 37.3889)
Luminance0.2098 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C951A4 #51C976
analogous
#B251C9 #C951A4 #C95168
triadic
#C951A4 #A4C951 #51A4C9
tetradic
#C951A4 #C9B251 #51C976 #5168C9
square
#C951A4 #C9B251 #51C976 #5168C9
split-complementary
#C951A4 #68C951 #51C9B2
monochromatic
#7A2660 #A93485 #C951A4 #D780BC #E6AED5

Accessibility & contrast

On white

4.04
#C951A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#C951A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C951A4
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C951A4#FFFFFF#000000##000000
##C951A41.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5972A7
Deuteranopia (green-blind)
#7C86A1
Tritanopia (blue-blind)
#D45373
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c951a4;
/* rgb */ color: rgb(201, 81, 164);
/* oklch */ color: oklch(61.8% 0.178 341.4);
Tailwind
colors: {
  custom: {
    50: '#dc88bf',
    500: '#c951a4',
    950: '#000000',
  },
}
SCSS
$custom: #c951a4;
$custom-light: #dc88bf;
$custom-dark: #000000;
JSON
{
  "hex": "#c951a4",
  "rgb": {
    "r": 201,
    "g": 81,
    "b": 164
  },
  "hsl": {
    "h": 318.5,
    "s": 52.632,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61759,
    "c": 0.17847,
    "h": 341.4
  },
  "luminance": 0.20983
}

Semantic roles & 50–950 ramp

primary
#C951A4
secondary
#A2D4B1
accent
#DC784C
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C951A4

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

Preview Lab → · Contrast checker → · Palette generator →

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