#C952A2#C952A2

#C952A2 is a mid, vivid pink. Relative luminance 0.211; OKLCH L 61.8% C 0.176 H 342.4°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#C952A2
RGBrgb(201, 82, 162)
HSLhsl(320, 52%, 55%)
HSVhsv(320, 59%, 79%)
CMYKcmyk(0%, 59.2%, 19.4%, 21.2%)
CIE-LABlab(53.02, 56.14, -19.90)
CIE-LCHlch(53.02, 59.56, 340.48°)
OKLaboklab(61.8% 0.1674 -0.0531)
OKLCHoklch(61.8% 0.176 342.4)
XYZxyz(33.6271, 21.0637, 36.4701)
Luminance0.2106 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C952A2 #52C979
analogous
#B552C9 #C952A2 #C95266
triadic
#C952A2 #A2C952 #52A2C9
tetradic
#C952A2 #C9B552 #52C979 #5266C9
square
#C952A2 #C9B552 #52C979 #5266C9
split-complementary
#C952A2 #66C952 #52C9B5
monochromatic
#7A265F #A93583 #C952A2 #D881BB #E6AFD4

Accessibility & contrast

On white

4.03
#C952A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#C952A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C952A2
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C952A2#FFFFFF#000000##000000
##C952A21.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B72A5
Deuteranopia (green-blind)
#7D869F
Tritanopia (blue-blind)
#D55373
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c952a2;
/* rgb */ color: rgb(201, 82, 162);
/* oklch */ color: oklch(61.8% 0.176 342.4);
Tailwind
colors: {
  custom: {
    50: '#dc89bd',
    500: '#c952a2',
    950: '#000000',
  },
}
SCSS
$custom: #c952a2;
$custom-light: #dc89bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c952a2",
  "rgb": {
    "r": 201,
    "g": 82,
    "b": 162
  },
  "hsl": {
    "h": 319.664,
    "s": 52.423,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61796,
    "c": 0.17564,
    "h": 342.4
  },
  "luminance": 0.21061
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C952A2

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

Preview Lab → · Contrast checker → · Palette generator →

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