#C940AA#C940AA

#C940AA is a mid, highly saturated pink. Relative luminance 0.190; OKLCH L 60.2% C 0.206 H 338.2°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#C940AA
RGBrgb(201, 64, 170)
HSLhsl(314, 56%, 52%)
HSVhsv(314, 68%, 79%)
CMYKcmyk(0%, 68.2%, 15.4%, 21.2%)
CIE-LABlab(50.67, 64.66, -28.21)
CIE-LCHlch(50.67, 70.54, 336.43°)
OKLaboklab(60.19% 0.1911 -0.0764)
OKLCHoklch(60.19% 0.206 338.2)
XYZxyz(33.1771, 18.9896, 39.9405)
Luminance0.1899 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C940AA #40C95F
analogous
#A440C9 #C940AA #C94066
triadic
#C940AA #AAC940 #40AAC9
tetradic
#C940AA #C9A440 #40C95F #4066C9
square
#C940AA #C9A440 #40C95F #4066C9
split-complementary
#C940AA #66C940 #40C9A4
monochromatic
#6F1F5D #9F2D85 #C940AA #D670BF #E49FD4

Accessibility & contrast

On white

4.38
#C940AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#C940AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C940AA
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C940AA#FFFFFF#000000##000000
##C940AA1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#466BAD
Deuteranopia (green-blind)
#7280A7
Tritanopia (blue-blind)
#D4466F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c940aa;
/* rgb */ color: rgb(201, 64, 170);
/* oklch */ color: oklch(60.2% 0.206 338.2);
Tailwind
colors: {
  custom: {
    50: '#dd80c3',
    500: '#c940aa',
    950: '#000000',
  },
}
SCSS
$custom: #c940aa;
$custom-light: #dd80c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c940aa",
  "rgb": {
    "r": 201,
    "g": 64,
    "b": 170
  },
  "hsl": {
    "h": 313.577,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60188,
    "c": 0.20576,
    "h": 338.2
  },
  "luminance": 0.18987
}

Semantic roles & 50–950 ramp

primary
#C940AA
secondary
#94D0A2
accent
#DF6B49
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #C940AA

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

Preview Lab → · Contrast checker → · Palette generator →

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