#C842AC#C842AC

#C842AC is a mid, highly saturated pink. Relative luminance 0.192; OKLCH L 60.3% C 0.204 H 337.2°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#C842AC
RGBrgb(200, 66, 172)
HSLhsl(313, 55%, 52%)
HSVhsv(313, 67%, 78%)
CMYKcmyk(0%, 67%, 14%, 21.6%)
CIE-LABlab(50.87, 63.95, -29.09)
CIE-LCHlch(50.87, 70.25, 335.54°)
OKLaboklab(60.33% 0.1881 -0.079)
OKLCHoklch(60.33% 0.204 337.2)
XYZxyz(33.2146, 19.1573, 40.9701)
Luminance0.1915 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C842AC #42C85E
analogous
#A142C8 #C842AC #C84269
triadic
#C842AC #ACC842 #42ACC8
tetradic
#C842AC #C8A142 #42C85E #4269C8
square
#C842AC #C8A142 #42C85E #4269C8
split-complementary
#C842AC #69C842 #42C8A1
monochromatic
#6F205F #9F2E87 #C842AC #D671C1 #E4A1D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C842AC#FFFFFF#000000##000000
##C842AC1.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)
#466CAF
Deuteranopia (green-blind)
#7181A9
Tritanopia (blue-blind)
#D24971
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c842ac;
/* rgb */ color: rgb(200, 66, 172);
/* oklch */ color: oklch(60.3% 0.204 337.2);
Tailwind
colors: {
  custom: {
    50: '#dc80c5',
    500: '#c842ac',
    950: '#000000',
  },
}
SCSS
$custom: #c842ac;
$custom-light: #dc80c5;
$custom-dark: #000000;
JSON
{
  "hex": "#c842ac",
  "rgb": {
    "r": 200,
    "g": 66,
    "b": 172
  },
  "hsl": {
    "h": 312.537,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60328,
    "c": 0.204,
    "h": 337.2
  },
  "luminance": 0.19154
}

Semantic roles & 50–950 ramp

primary
#C842AC
secondary
#96D0A2
accent
#DE694A
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#150B13
muted
#847C82

Preview Lab

Preview with #C842AC

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

Preview Lab → · Contrast checker → · Palette generator →

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