#C940AE#C940AE

#C940AE is a mid, highly saturated pink. Relative luminance 0.191; OKLCH L 60.4% C 0.209 H 336.8°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#C940AE
RGBrgb(201, 64, 174)
HSLhsl(312, 56%, 52%)
HSVhsv(312, 68%, 79%)
CMYKcmyk(0%, 68.2%, 13.4%, 21.2%)
CIE-LABlab(50.85, 65.24, -30.28)
CIE-LCHlch(50.85, 71.92, 335.10°)
OKLaboklab(60.38% 0.1916 -0.0823)
OKLCHoklch(60.38% 0.209 336.8)
XYZxyz(33.5613, 19.1432, 41.9636)
Luminance0.1914 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C940AE #40C95B
analogous
#A040C9 #C940AE #C9406A
triadic
#C940AE #AEC940 #40AEC9
tetradic
#C940AE #C9A040 #40C95B #406AC9
square
#C940AE #C9A040 #40C95B #406AC9
split-complementary
#C940AE #6AC940 #40C9A0
monochromatic
#6F1F5F #9F2D88 #C940AE #D670C2 #E49FD6

Accessibility & contrast

On white

4.35
#C940AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#C940AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C940AE
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C940AE#FFFFFF#000000##000000
##C940AE1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#436CB1
Deuteranopia (green-blind)
#7081AB
Tritanopia (blue-blind)
#D34872
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c940ae;
/* rgb */ color: rgb(201, 64, 174);
/* oklch */ color: oklch(60.4% 0.209 336.8);
Tailwind
colors: {
  custom: {
    50: '#dd80c6',
    500: '#c940ae',
    950: '#000000',
  },
}
SCSS
$custom: #c940ae;
$custom-light: #dd80c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c940ae",
  "rgb": {
    "r": 201,
    "g": 64,
    "b": 174
  },
  "hsl": {
    "h": 311.825,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60377,
    "c": 0.20851,
    "h": 336.8
  },
  "luminance": 0.1914
}

Semantic roles & 50–950 ramp

primary
#C940AE
secondary
#94D0A0
accent
#DF6649
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #C940AE

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

Preview Lab → · Contrast checker → · Palette generator →

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