#C842A3#C842A3

#C842A3 is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.9% C 0.198 H 340.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#C842A3
RGBrgb(200, 66, 163)
HSLhsl(317, 55%, 52%)
HSVhsv(317, 67%, 78%)
CMYKcmyk(0%, 67%, 18.5%, 21.6%)
CIE-LABlab(50.48, 62.65, -24.40)
CIE-LCHlch(50.48, 67.24, 338.72°)
OKLaboklab(59.92% 0.1867 -0.0657)
OKLCHoklch(59.92% 0.198 340.6)
XYZxyz(32.3793, 18.8232, 36.5712)
Luminance0.1882 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C842A3 #42C867
analogous
#AA42C8 #C842A3 #C84260
triadic
#C842A3 #A3C842 #42A3C8
tetradic
#C842A3 #C8AA42 #42C867 #4260C8
square
#C842A3 #C8AA42 #42C867 #4260C8
split-complementary
#C842A3 #60C842 #42C8AA
monochromatic
#6F2059 #9F2E80 #C842A3 #D671BA #E4A1D1

Accessibility & contrast

On white

4.41
#C842A3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#C842A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C842A3
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C842A3#FFFFFF#000000##000000
##C842A31.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B6AA6
Deuteranopia (green-blind)
#7480A0
Tritanopia (blue-blind)
#D4456D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c842a3;
/* rgb */ color: rgb(200, 66, 163);
/* oklch */ color: oklch(59.9% 0.198 340.6);
Tailwind
colors: {
  custom: {
    50: '#dc80be',
    500: '#c842a3',
    950: '#000000',
  },
}
SCSS
$custom: #c842a3;
$custom-light: #dc80be;
$custom-dark: #000000;
JSON
{
  "hex": "#c842a3",
  "rgb": {
    "r": 200,
    "g": 66,
    "b": 163
  },
  "hsl": {
    "h": 316.567,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59915,
    "c": 0.19789,
    "h": 340.6
  },
  "luminance": 0.1882
}

Semantic roles & 50–950 ramp

primary
#C842A3
secondary
#96D0A6
accent
#DE734A
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#150B12
muted
#847C81

Preview Lab

Preview with #C842A3

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

Preview Lab → · Contrast checker → · Palette generator →

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