#C82FA1#C82FA1

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

Color values

HEX#C82FA1
RGBrgb(200, 47, 161)
HSLhsl(315, 62%, 48%)
HSVhsv(315, 77%, 78%)
CMYKcmyk(0%, 76.5%, 19.5%, 21.6%)
CIE-LABlab(48.12, 68.79, -26.87)
CIE-LCHlch(48.12, 73.86, 338.66°)
OKLaboklab(58.17% 0.2058 -0.0725)
OKLCHoklch(58.17% 0.218 340.6)
XYZxyz(31.2699, 16.8888, 35.3244)
Luminance0.1689 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C82FA1 #2FC856
analogous
#A22FC8 #C82FA1 #C82F54
triadic
#C82FA1 #A1C82F #2FA1C8
tetradic
#C82FA1 #C8A22F #2FC856 #2F54C8
square
#C82FA1 #C8A22F #2FC856 #2F54C8
split-complementary
#C82FA1 #54C82F #2FC8A2
monochromatic
#651851 #962379 #C82FA1 #D95CB9 #E48DCE

Accessibility & contrast

On white

4.80
#C82FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C82FA1
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C82FA1#FFFFFF#000000##FFFFFF
##C82FA11.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C63A4
Deuteranopia (green-blind)
#6E7B9E
Tritanopia (blue-blind)
#D43465
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c82fa1;
/* rgb */ color: rgb(200, 47, 161);
/* oklch */ color: oklch(58.2% 0.218 340.6);
Tailwind
colors: {
  custom: {
    50: '#dd78bd',
    500: '#c82fa1',
    950: '#000000',
  },
}
SCSS
$custom: #c82fa1;
$custom-light: #dd78bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c82fa1",
  "rgb": {
    "r": 200,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 315.294,
    "s": 61.943,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58174,
    "c": 0.21821,
    "h": 340.6
  },
  "luminance": 0.16886
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C82FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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