#C82BAB#C82BAB

#C82BAB is a mid, highly saturated pink. Relative luminance 0.169; OKLCH L 58.4% C 0.228 H 337.1°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#C82BAB
RGBrgb(200, 43, 171)
HSLhsl(311, 65%, 48%)
HSVhsv(311, 79%, 78%)
CMYKcmyk(0%, 78.5%, 14.5%, 21.6%)
CIE-LABlab(48.20, 71.25, -32.68)
CIE-LCHlch(48.20, 78.38, 335.36°)
OKLaboklab(58.38% 0.2102 -0.089)
OKLCHoklch(58.38% 0.228 337.1)
XYZxyz(32.0346, 16.9505, 40.1048)
Luminance0.1695 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C82BAB #2BC848
analogous
#972BC8 #C82BAB #C82B5C
triadic
#C82BAB #ABC82B #2BABC8
tetradic
#C82BAB #C8972B #2BC848 #2B5CC8
square
#C82BAB #C8972B #2BC848 #2B5CC8
split-complementary
#C82BAB #5CC82B #2BC897
monochromatic
#631555 #962080 #C82BAB #DB56C2 #E588D4

Accessibility & contrast

On white

4.78
#C82BAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#C82BAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C82BAB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C82BAB#FFFFFF#000000##FFFFFF
##C82BAB1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3063AE
Deuteranopia (green-blind)
#697BA7
Tritanopia (blue-blind)
#D3366A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c82bab;
/* rgb */ color: rgb(200, 43, 171);
/* oklch */ color: oklch(58.4% 0.228 337.1);
Tailwind
colors: {
  custom: {
    50: '#dd77c4',
    500: '#c82bab',
    950: '#000000',
  },
}
SCSS
$custom: #c82bab;
$custom-light: #dd77c4;
$custom-dark: #000000;
JSON
{
  "hex": "#c82bab",
  "rgb": {
    "r": 200,
    "g": 43,
    "b": 171
  },
  "hsl": {
    "h": 311.083,
    "s": 64.609,
    "l": 47.647
  },
  "oklch": {
    "l": 0.58381,
    "c": 0.2283,
    "h": 337.1
  },
  "luminance": 0.16947
}

Semantic roles & 50–950 ramp

primary
#C82BAB
secondary
#80CF8E
accent
#E85F40
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #C82BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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