#C951A5#C951A5

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

Color values

HEX#C951A5
RGBrgb(201, 81, 165)
HSLhsl(318, 53%, 55%)
HSVhsv(318, 60%, 79%)
CMYKcmyk(0%, 59.7%, 17.9%, 21.2%)
CIE-LABlab(52.97, 57.02, -21.73)
CIE-LCHlch(52.97, 61.02, 339.14°)
OKLaboklab(61.8% 0.1694 -0.0583)
OKLCHoklch(61.8% 0.179 341)
XYZxyz(33.8221, 21.0219, 37.8663)
Luminance0.2102 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C951A5 #51C975
analogous
#B151C9 #C951A5 #C95169
triadic
#C951A5 #A5C951 #51A5C9
tetradic
#C951A5 #C9B151 #51C975 #5169C9
square
#C951A5 #C9B151 #51C975 #5169C9
split-complementary
#C951A5 #69C951 #51C9B1
monochromatic
#7A2661 #A93486 #C951A5 #D780BD #E6AED5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C951A5#FFFFFF#000000##000000
##C951A51.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)
#5872A8
Deuteranopia (green-blind)
#7B86A2
Tritanopia (blue-blind)
#D45374
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c951a5;
/* rgb */ color: rgb(201, 81, 165);
/* oklch */ color: oklch(61.8% 0.179 341.0);
Tailwind
colors: {
  custom: {
    50: '#dc88c0',
    500: '#c951a5',
    950: '#000000',
  },
}
SCSS
$custom: #c951a5;
$custom-light: #dc88c0;
$custom-dark: #000000;
JSON
{
  "hex": "#c951a5",
  "rgb": {
    "r": 201,
    "g": 81,
    "b": 165
  },
  "hsl": {
    "h": 318,
    "s": 52.632,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61802,
    "c": 0.17914,
    "h": 341
  },
  "luminance": 0.21019
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C951A5

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

Preview Lab → · Contrast checker → · Palette generator →

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