#C842AA#C842AA

#C842AA is a mid, highly saturated pink. Relative luminance 0.191; OKLCH L 60.2% C 0.203 H 338.0°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#C842AA
RGBrgb(200, 66, 170)
HSLhsl(313, 55%, 52%)
HSVhsv(313, 67%, 78%)
CMYKcmyk(0%, 67%, 15%, 21.6%)
CIE-LABlab(50.78, 63.65, -28.06)
CIE-LCHlch(50.78, 69.56, 336.21°)
OKLaboklab(60.23% 0.1878 -0.076)
OKLCHoklch(60.23% 0.203 338)
XYZxyz(33.0239, 19.0810, 39.9662)
Luminance0.1908 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C842AA #42C860
analogous
#A342C8 #C842AA #C84267
triadic
#C842AA #AAC842 #42AAC8
tetradic
#C842AA #C8A342 #42C860 #4267C8
square
#C842AA #C8A342 #42C860 #4267C8
split-complementary
#C842AA #67C842 #42C8A3
monochromatic
#6F205E #9F2E85 #C842AA #D671BF #E4A1D5

Accessibility & contrast

On white

4.36
#C842AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#C842AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C842AA
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C842AA#FFFFFF#000000##000000
##C842AA1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#476CAD
Deuteranopia (green-blind)
#7280A7
Tritanopia (blue-blind)
#D34870
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c842aa;
/* rgb */ color: rgb(200, 66, 170);
/* oklch */ color: oklch(60.2% 0.203 338.0);
Tailwind
colors: {
  custom: {
    50: '#dc80c3',
    500: '#c842aa',
    950: '#000000',
  },
}
SCSS
$custom: #c842aa;
$custom-light: #dc80c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c842aa",
  "rgb": {
    "r": 200,
    "g": 66,
    "b": 170
  },
  "hsl": {
    "h": 313.433,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60234,
    "c": 0.2026,
    "h": 338
  },
  "luminance": 0.19078
}

Semantic roles & 50–950 ramp

primary
#C842AA
secondary
#96D0A3
accent
#DE6B4A
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#150B12
muted
#847C81

Preview Lab

Preview with #C842AA

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

Preview Lab → · Contrast checker → · Palette generator →

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