#C842AD#C842AD

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

Color values

HEX#C842AD
RGBrgb(200, 66, 173)
HSLhsl(312, 55%, 52%)
HSVhsv(312, 67%, 78%)
CMYKcmyk(0%, 67%, 13.5%, 21.6%)
CIE-LABlab(50.92, 64.09, -29.61)
CIE-LCHlch(50.92, 70.60, 335.20°)
OKLaboklab(60.38% 0.1882 -0.0804)
OKLCHoklch(60.38% 0.205 336.9)
XYZxyz(33.3110, 19.1958, 41.4778)
Luminance0.1919 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C842AD #42C85D
analogous
#A042C8 #C842AD #C8426A
triadic
#C842AD #ADC842 #42ADC8
tetradic
#C842AD #C8A042 #42C85D #426AC8
square
#C842AD #C8A042 #42C85D #426AC8
split-complementary
#C842AD #6AC842 #42C8A0
monochromatic
#6F205F #9F2E88 #C842AD #D671C2 #E4A1D6

Accessibility & contrast

On white

4.34
#C842AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#C842AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C842AD
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C842AD#FFFFFF#000000##000000
##C842AD1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#456CB0
Deuteranopia (green-blind)
#7181AA
Tritanopia (blue-blind)
#D24972
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c842ad;
/* rgb */ color: rgb(200, 66, 173);
/* oklch */ color: oklch(60.4% 0.205 336.9);
Tailwind
colors: {
  custom: {
    50: '#dc80c5',
    500: '#c842ad',
    950: '#000000',
  },
}
SCSS
$custom: #c842ad;
$custom-light: #dc80c5;
$custom-dark: #000000;
JSON
{
  "hex": "#c842ad",
  "rgb": {
    "r": 200,
    "g": 66,
    "b": 173
  },
  "hsl": {
    "h": 312.09,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60375,
    "c": 0.20469,
    "h": 336.9
  },
  "luminance": 0.19193
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C842AD

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

Preview Lab → · Contrast checker → · Palette generator →

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