#C842AE#C842AE

#C842AE is a mid, highly saturated pink. Relative luminance 0.192; OKLCH L 60.4% C 0.205 H 336.5°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#C842AE
RGBrgb(200, 66, 174)
HSLhsl(312, 55%, 52%)
HSVhsv(312, 67%, 78%)
CMYKcmyk(0%, 67%, 13%, 21.6%)
CIE-LABlab(50.96, 64.24, -30.13)
CIE-LCHlch(50.96, 70.95, 334.88°)
OKLaboklab(60.42% 0.1884 -0.0819)
OKLCHoklch(60.42% 0.205 336.5)
XYZxyz(33.4081, 19.2347, 41.9893)
Luminance0.1923 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C842AE #42C85C
analogous
#9F42C8 #C842AE #C8426B
triadic
#C842AE #AEC842 #42AEC8
tetradic
#C842AE #C89F42 #42C85C #426BC8
square
#C842AE #C89F42 #42C85C #426BC8
split-complementary
#C842AE #6BC842 #42C89F
monochromatic
#6F2060 #9F2E89 #C842AE #D671C2 #E4A1D7

Accessibility & contrast

On white

4.33
#C842AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#C842AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C842AE
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C842AE#FFFFFF#000000##000000
##C842AE1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c842ae;
/* rgb */ color: rgb(200, 66, 174);
/* oklch */ color: oklch(60.4% 0.205 336.5);
Tailwind
colors: {
  custom: {
    50: '#dc80c6',
    500: '#c842ae',
    950: '#000000',
  },
}
SCSS
$custom: #c842ae;
$custom-light: #dc80c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c842ae",
  "rgb": {
    "r": 200,
    "g": 66,
    "b": 174
  },
  "hsl": {
    "h": 311.642,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60423,
    "c": 0.2054,
    "h": 336.5
  },
  "luminance": 0.19232
}

Semantic roles & 50–950 ramp

primary
#C842AE
secondary
#96D0A1
accent
#DE664A
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#150B13
muted
#847C82

Preview Lab

Preview with #C842AE

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

Preview Lab → · Contrast checker → · Palette generator →

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