#C820A1#C820A1

#C820A1 is a mid, highly saturated pink. Relative luminance 0.159; OKLCH L 57.2% C 0.231 H 340.2°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#C820A1
RGBrgb(200, 32, 161)
HSLhsl(314, 72%, 45%)
HSVhsv(314, 84%, 78%)
CMYKcmyk(0%, 84%, 19.5%, 21.6%)
CIE-LABlab(46.83, 72.51, -28.88)
CIE-LCHlch(46.83, 78.05, 338.28°)
OKLaboklab(57.24% 0.2172 -0.0781)
OKLCHoklch(57.24% 0.231 340.2)
XYZxyz(30.7699, 15.8888, 35.1577)
Luminance0.1589 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C820A1 #20C847
analogous
#9B20C8 #C820A1 #C8204D
triadic
#C820A1 #A1C820 #20A1C8
tetradic
#C820A1 #C89B20 #20C847 #204DC8
square
#C820A1 #C89B20 #20C847 #204DC8
split-complementary
#C820A1 #4DC820 #20C89B
monochromatic
#5E0F4C #931877 #C820A1 #E144BD #EA79CF

Accessibility & contrast

On white

5.03
#C820A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#C820A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C820A1
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C820A1#FFFFFF#000000##FFFFFF
##C820A11.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315EA4
Deuteranopia (green-blind)
#6A789D
Tritanopia (blue-blind)
#D42862
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c820a1;
/* rgb */ color: rgb(200, 32, 161);
/* oklch */ color: oklch(57.2% 0.231 340.2);
Tailwind
colors: {
  custom: {
    50: '#dd73bd',
    500: '#c820a1',
    950: '#000000',
  },
}
SCSS
$custom: #c820a1;
$custom-light: #dd73bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c820a1",
  "rgb": {
    "r": 200,
    "g": 32,
    "b": 161
  },
  "hsl": {
    "h": 313.929,
    "s": 72.414,
    "l": 45.49
  },
  "oklch": {
    "l": 0.57244,
    "c": 0.23077,
    "h": 340.2
  },
  "luminance": 0.15886
}

Semantic roles & 50–950 ramp

primary
#C820A1
secondary
#73D189
accent
#EF6339
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#160912
muted
#847B81

Preview Lab

Preview with #C820A1

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

Preview Lab → · Contrast checker → · Palette generator →

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