#C82BAC#C82BAC

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

Color values

HEX#C82BAC
RGBrgb(200, 43, 172)
HSLhsl(311, 65%, 48%)
HSVhsv(311, 79%, 78%)
CMYKcmyk(0%, 78.5%, 14%, 21.6%)
CIE-LABlab(48.25, 71.39, -33.19)
CIE-LCHlch(48.25, 78.73, 335.06°)
OKLaboklab(58.43% 0.2103 -0.0905)
OKLCHoklch(58.43% 0.229 336.7)
XYZxyz(32.1303, 16.9887, 40.6087)
Luminance0.1699 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C82BAC #2BC847
analogous
#962BC8 #C82BAC #C82B5D
triadic
#C82BAC #ACC82B #2BACC8
tetradic
#C82BAC #C8962B #2BC847 #2B5DC8
square
#C82BAC #C8962B #2BC847 #2B5DC8
split-complementary
#C82BAC #5DC82B #2BC896
monochromatic
#631555 #962081 #C82BAC #DB56C3 #E588D5

Accessibility & contrast

On white

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

On black

4.40
#C82BAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C82BAC#FFFFFF#000000##FFFFFF
##C82BAC1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F63AF
Deuteranopia (green-blind)
#687BA8
Tritanopia (blue-blind)
#D3376A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c82bac;
/* rgb */ color: rgb(200, 43, 172);
/* oklch */ color: oklch(58.4% 0.229 336.7);
Tailwind
colors: {
  custom: {
    50: '#dd77c5',
    500: '#c82bac',
    950: '#000000',
  },
}
SCSS
$custom: #c82bac;
$custom-light: #dd77c5;
$custom-dark: #000000;
JSON
{
  "hex": "#c82bac",
  "rgb": {
    "r": 200,
    "g": 43,
    "b": 172
  },
  "hsl": {
    "h": 310.701,
    "s": 64.609,
    "l": 47.647
  },
  "oklch": {
    "l": 0.58431,
    "c": 0.22895,
    "h": 336.7
  },
  "luminance": 0.16986
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C82BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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