#C952AF#C952AF

#C952AF is a light, vivid pink. Relative luminance 0.215; OKLCH L 62.4% C 0.185 H 337.0°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#C952AF
RGBrgb(201, 82, 175)
HSLhsl(313, 52%, 55%)
HSVhsv(313, 59%, 79%)
CMYKcmyk(0%, 59.2%, 12.9%, 21.2%)
CIE-LABlab(53.55, 58.08, -26.68)
CIE-LCHlch(53.55, 63.91, 335.32°)
OKLaboklab(62.36% 0.1701 -0.0722)
OKLCHoklch(62.36% 0.185 337)
XYZxyz(34.8430, 21.5500, 42.8736)
Luminance0.2155 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C952AF #52C96C
analogous
#A752C9 #C952AF #C95273
triadic
#C952AF #AFC952 #52AFC9
tetradic
#C952AF #C9A752 #52C96C #5273C9
square
#C952AF #C9A752 #52C96C #5273C9
split-complementary
#C952AF #73C952 #52C9A7
monochromatic
#7A2668 #A93590 #C952AF #D881C5 #E6AFDA

Accessibility & contrast

On white

3.96
#C952AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#C952AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C952AF
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C952AF#FFFFFF#000000##000000
##C952AF1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5574B2
Deuteranopia (green-blind)
#7887AC
Tritanopia (blue-blind)
#D35779
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #c952af;
/* rgb */ color: rgb(201, 82, 175);
/* oklch */ color: oklch(62.4% 0.185 337.0);
Tailwind
colors: {
  custom: {
    50: '#dc89c7',
    500: '#c952af',
    950: '#000000',
  },
}
SCSS
$custom: #c952af;
$custom-light: #dc89c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c952af",
  "rgb": {
    "r": 201,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 313.109,
    "s": 52.423,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62357,
    "c": 0.18476,
    "h": 337
  },
  "luminance": 0.21547
}

Semantic roles & 50–950 ramp

primary
#C952AF
secondary
#A3D4AD
accent
#DC6B4C
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C952AF

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

Preview Lab → · Contrast checker → · Palette generator →

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