#C82FA8#C82FA8

#C82FA8 is a mid, highly saturated pink. Relative luminance 0.171; OKLCH L 58.5% C 0.223 H 338.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#C82FA8
RGBrgb(200, 47, 168)
HSLhsl(313, 62%, 48%)
HSVhsv(313, 77%, 78%)
CMYKcmyk(0%, 76.5%, 16%, 21.6%)
CIE-LABlab(48.44, 69.73, -30.53)
CIE-LCHlch(48.44, 76.12, 336.36°)
OKLaboklab(58.51% 0.2067 -0.0829)
OKLCHoklch(58.51% 0.223 338.1)
XYZxyz(31.9046, 17.1426, 38.6668)
Luminance0.1714 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C82FA8 #2FC84F
analogous
#9B2FC8 #C82FA8 #C82F5B
triadic
#C82FA8 #A8C82F #2FA8C8
tetradic
#C82FA8 #C89B2F #2FC84F #2F5BC8
square
#C82FA8 #C89B2F #2FC84F #2F5BC8
split-complementary
#C82FA8 #5BC82F #2FC89B
monochromatic
#651855 #96237E #C82FA8 #D95CBE #E48DD2

Accessibility & contrast

On white

4.74
#C82FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#C82FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C82FA8
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C82FA8#FFFFFF#000000##FFFFFF
##C82FA81.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3764AB
Deuteranopia (green-blind)
#6B7BA5
Tritanopia (blue-blind)
#D33869
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c82fa8;
/* rgb */ color: rgb(200, 47, 168);
/* oklch */ color: oklch(58.5% 0.223 338.1);
Tailwind
colors: {
  custom: {
    50: '#dd78c2',
    500: '#c82fa8',
    950: '#000000',
  },
}
SCSS
$custom: #c82fa8;
$custom-light: #dd78c2;
$custom-dark: #000000;
JSON
{
  "hex": "#c82fa8",
  "rgb": {
    "r": 200,
    "g": 47,
    "b": 168
  },
  "hsl": {
    "h": 312.549,
    "s": 61.943,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58508,
    "c": 0.22265,
    "h": 338.1
  },
  "luminance": 0.1714
}

Semantic roles & 50–950 ramp

primary
#C82FA8
secondary
#84CF94
accent
#E56543
background
#FEF7FB
surface
#FCEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #C82FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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