#C950A7#C950A7

#C950A7 is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.8% C 0.182 H 340.1°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#C950A7
RGBrgb(201, 80, 167)
HSLhsl(317, 53%, 55%)
HSVhsv(317, 60%, 79%)
CMYKcmyk(0%, 60.2%, 16.9%, 21.2%)
CIE-LABlab(52.89, 57.75, -23.02)
CIE-LCHlch(52.89, 62.17, 338.26°)
OKLaboklab(61.77% 0.1711 -0.0619)
OKLCHoklch(61.77% 0.182 340.1)
XYZxyz(33.9318, 20.9478, 38.8080)
Luminance0.2094 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C950A7 #50C972
analogous
#AF50C9 #C950A7 #C9506A
triadic
#C950A7 #A7C950 #50A7C9
tetradic
#C950A7 #C9AF50 #50C972 #506AC9
square
#C950A7 #C9AF50 #50C972 #506AC9
split-complementary
#C950A7 #6AC950 #50C9AF
monochromatic
#792562 #A83487 #C950A7 #D77FBF #E6AED6

Accessibility & contrast

On white

4.05
#C950A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#C950A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C950A7
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C950A7#FFFFFF#000000##000000
##C950A71.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5772AA
Deuteranopia (green-blind)
#7A85A4
Tritanopia (blue-blind)
#D45374
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c950a7;
/* rgb */ color: rgb(201, 80, 167);
/* oklch */ color: oklch(61.8% 0.182 340.1);
Tailwind
colors: {
  custom: {
    50: '#dc88c1',
    500: '#c950a7',
    950: '#000000',
  },
}
SCSS
$custom: #c950a7;
$custom-light: #dc88c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c950a7",
  "rgb": {
    "r": 201,
    "g": 80,
    "b": 167
  },
  "hsl": {
    "h": 316.86,
    "s": 52.838,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61768,
    "c": 0.18198,
    "h": 340.1
  },
  "luminance": 0.20945
}

Semantic roles & 50–950 ramp

primary
#C950A7
secondary
#A1D4AF
accent
#DC744C
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C950A7

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

Preview Lab → · Contrast checker → · Palette generator →

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