#C82FA2#C82FA2

#C82FA2 is a mid, highly saturated pink. Relative luminance 0.169; OKLCH L 58.2% C 0.219 H 340.2°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#C82FA2
RGBrgb(200, 47, 162)
HSLhsl(315, 62%, 48%)
HSVhsv(315, 77%, 78%)
CMYKcmyk(0%, 76.5%, 19%, 21.6%)
CIE-LABlab(48.16, 68.92, -27.40)
CIE-LCHlch(48.16, 74.17, 338.32°)
OKLaboklab(58.22% 0.206 -0.074)
OKLCHoklch(58.22% 0.219 340.2)
XYZxyz(31.3585, 16.9242, 35.7906)
Luminance0.1692 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C82FA2 #2FC855
analogous
#A12FC8 #C82FA2 #C82F55
triadic
#C82FA2 #A2C82F #2FA2C8
tetradic
#C82FA2 #C8A12F #2FC855 #2F55C8
square
#C82FA2 #C8A12F #2FC855 #2F55C8
split-complementary
#C82FA2 #55C82F #2FC8A1
monochromatic
#651852 #96237A #C82FA2 #D95CBA #E48DCF

Accessibility & contrast

On white

4.79
#C82FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#C82FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C82FA2
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C82FA2#FFFFFF#000000##FFFFFF
##C82FA21.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B63A5
Deuteranopia (green-blind)
#6D7B9F
Tritanopia (blue-blind)
#D43466
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c82fa2;
/* rgb */ color: rgb(200, 47, 162);
/* oklch */ color: oklch(58.2% 0.219 340.2);
Tailwind
colors: {
  custom: {
    50: '#dd78be',
    500: '#c82fa2',
    950: '#000000',
  },
}
SCSS
$custom: #c82fa2;
$custom-light: #dd78be;
$custom-dark: #000000;
JSON
{
  "hex": "#c82fa2",
  "rgb": {
    "r": 200,
    "g": 47,
    "b": 162
  },
  "hsl": {
    "h": 314.902,
    "s": 61.943,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58221,
    "c": 0.21884,
    "h": 340.2
  },
  "luminance": 0.16921
}

Semantic roles & 50–950 ramp

primary
#C82FA2
secondary
#84CF97
accent
#E56B43
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #C82FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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