#C942AE#C942AE

#C942AE is a mid, highly saturated pink. Relative luminance 0.194; OKLCH L 60.6% C 0.206 H 336.8°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#C942AE
RGBrgb(201, 66, 174)
HSLhsl(312, 56%, 52%)
HSVhsv(312, 67%, 79%)
CMYKcmyk(0%, 67.2%, 13.4%, 21.2%)
CIE-LABlab(51.12, 64.49, -29.87)
CIE-LCHlch(51.12, 71.07, 335.15°)
OKLaboklab(60.57% 0.1894 -0.0811)
OKLCHoklch(60.57% 0.206 336.8)
XYZxyz(33.6761, 19.3729, 42.0019)
Luminance0.1937 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C942AE #42C95D
analogous
#A142C9 #C942AE #C9426A
triadic
#C942AE #AEC942 #42AEC9
tetradic
#C942AE #C9A142 #42C95D #426AC9
square
#C942AE #C9A142 #42C95D #426AC9
split-complementary
#C942AE #6AC942 #42C9A1
monochromatic
#702060 #A02E89 #C942AE #D772C2 #E4A1D7

Accessibility & contrast

On white

4.31
#C942AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#C942AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C942AE
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C942AE#FFFFFF#000000##000000
##C942AE1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#456DB1
Deuteranopia (green-blind)
#7181AB
Tritanopia (blue-blind)
#D34972
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c942ae;
/* rgb */ color: rgb(201, 66, 174);
/* oklch */ color: oklch(60.6% 0.206 336.8);
Tailwind
colors: {
  custom: {
    50: '#dd81c6',
    500: '#c942ae',
    950: '#000000',
  },
}
SCSS
$custom: #c942ae;
$custom-light: #dd81c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c942ae",
  "rgb": {
    "r": 201,
    "g": 66,
    "b": 174
  },
  "hsl": {
    "h": 312,
    "s": 55.556,
    "l": 52.353
  },
  "oklch": {
    "l": 0.6057,
    "c": 0.20602,
    "h": 336.8
  },
  "luminance": 0.1937
}

Semantic roles & 50–950 ramp

primary
#C942AE
secondary
#96D1A2
accent
#DF6749
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #C942AE

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

Preview Lab → · Contrast checker → · Palette generator →

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