#C950A2#C950A2

#C950A2 is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.6% C 0.179 H 342.2°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#C950A2
RGBrgb(201, 80, 162)
HSLhsl(319, 53%, 55%)
HSVhsv(319, 60%, 79%)
CMYKcmyk(0%, 60.2%, 19.4%, 21.2%)
CIE-LABlab(52.69, 57.02, -20.40)
CIE-LCHlch(52.69, 60.56, 340.32°)
OKLaboklab(61.56% 0.1701 -0.0545)
OKLCHoklch(61.56% 0.179 342.2)
XYZxyz(33.4785, 20.7664, 36.4205)
Luminance0.2076 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C950A2 #50C977
analogous
#B350C9 #C950A2 #C95065
triadic
#C950A2 #A2C950 #50A2C9
tetradic
#C950A2 #C9B350 #50C977 #5065C9
square
#C950A2 #C9B350 #50C977 #5065C9
split-complementary
#C950A2 #65C950 #50C9B3
monochromatic
#79255E #A83483 #C950A2 #D77FBB #E6AED4

Accessibility & contrast

On white

4.08
#C950A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#C950A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C950A2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C950A2#FFFFFF#000000##000000
##C950A21.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5971A5
Deuteranopia (green-blind)
#7C859F
Tritanopia (blue-blind)
#D55172
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c950a2;
/* rgb */ color: rgb(201, 80, 162);
/* oklch */ color: oklch(61.6% 0.179 342.2);
Tailwind
colors: {
  custom: {
    50: '#dd88bd',
    500: '#c950a2',
    950: '#000000',
  },
}
SCSS
$custom: #c950a2;
$custom-light: #dd88bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c950a2",
  "rgb": {
    "r": 201,
    "g": 80,
    "b": 162
  },
  "hsl": {
    "h": 319.339,
    "s": 52.838,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61556,
    "c": 0.17861,
    "h": 342.2
  },
  "luminance": 0.20763
}

Semantic roles & 50–950 ramp

primary
#C950A2
secondary
#A1D4B1
accent
#DC7A4C
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C950A2

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

Preview Lab → · Contrast checker → · Palette generator →

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