#C82BA8#C82BA8

#C82BA8 is a mid, highly saturated pink. Relative luminance 0.168; OKLCH L 58.2% C 0.226 H 338.1°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#C82BA8
RGBrgb(200, 43, 168)
HSLhsl(312, 65%, 48%)
HSVhsv(312, 79%, 78%)
CMYKcmyk(0%, 78.5%, 16%, 21.6%)
CIE-LABlab(48.05, 70.84, -31.13)
CIE-LCHlch(48.05, 77.38, 336.28°)
OKLaboklab(58.23% 0.21 -0.0846)
OKLCHoklch(58.23% 0.226 338.1)
XYZxyz(31.7519, 16.8374, 38.6159)
Luminance0.1683 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C82BA8 #2BC84B
analogous
#992BC8 #C82BA8 #C82B5A
triadic
#C82BA8 #A8C82B #2BA8C8
tetradic
#C82BA8 #C8992B #2BC84B #2B5AC8
square
#C82BA8 #C8992B #2BC84B #2B5AC8
split-complementary
#C82BA8 #5AC82B #2BC899
monochromatic
#631553 #96207E #C82BA8 #DB56BF #E588D2

Accessibility & contrast

On white

4.81
#C82BA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#C82BA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C82BA8
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C82BA8#FFFFFF#000000##FFFFFF
##C82BA81.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3363AB
Deuteranopia (green-blind)
#6A7BA4
Tritanopia (blue-blind)
#D33568
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c82ba8;
/* rgb */ color: rgb(200, 43, 168);
/* oklch */ color: oklch(58.2% 0.226 338.1);
Tailwind
colors: {
  custom: {
    50: '#dd77c2',
    500: '#c82ba8',
    950: '#000000',
  },
}
SCSS
$custom: #c82ba8;
$custom-light: #dd77c2;
$custom-dark: #000000;
JSON
{
  "hex": "#c82ba8",
  "rgb": {
    "r": 200,
    "g": 43,
    "b": 168
  },
  "hsl": {
    "h": 312.229,
    "s": 64.609,
    "l": 47.647
  },
  "oklch": {
    "l": 0.58231,
    "c": 0.22637,
    "h": 338.1
  },
  "luminance": 0.16834
}

Semantic roles & 50–950 ramp

primary
#C82BA8
secondary
#80CF90
accent
#E86240
background
#FEF7FB
surface
#FCEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #C82BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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