#C82FA7#C82FA7

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

Color values

HEX#C82FA7
RGBrgb(200, 47, 167)
HSLhsl(313, 62%, 48%)
HSVhsv(313, 77%, 78%)
CMYKcmyk(0%, 76.5%, 16.5%, 21.6%)
CIE-LABlab(48.39, 69.60, -30.01)
CIE-LCHlch(48.39, 75.79, 336.68°)
OKLaboklab(58.46% 0.2065 -0.0814)
OKLCHoklch(58.46% 0.222 338.5)
XYZxyz(31.8118, 17.1055, 38.1781)
Luminance0.1710 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C82FA7 #2FC850
analogous
#9C2FC8 #C82FA7 #C82F5A
triadic
#C82FA7 #A7C82F #2FA7C8
tetradic
#C82FA7 #C89C2F #2FC850 #2F5AC8
square
#C82FA7 #C89C2F #2FC850 #2F5AC8
split-complementary
#C82FA7 #5AC82F #2FC89C
monochromatic
#651854 #96237E #C82FA7 #D95CBE #E48DD1

Accessibility & contrast

On white

4.75
#C82FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#C82FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C82FA7
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C82FA7#FFFFFF#000000##FFFFFF
##C82FA71.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3764AA
Deuteranopia (green-blind)
#6C7BA4
Tritanopia (blue-blind)
#D33768
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c82fa7;
/* rgb */ color: rgb(200, 47, 167);
/* oklch */ color: oklch(58.5% 0.222 338.5);
Tailwind
colors: {
  custom: {
    50: '#dd78c1',
    500: '#c82fa7',
    950: '#000000',
  },
}
SCSS
$custom: #c82fa7;
$custom-light: #dd78c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c82fa7",
  "rgb": {
    "r": 200,
    "g": 47,
    "b": 167
  },
  "hsl": {
    "h": 312.941,
    "s": 61.943,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5846,
    "c": 0.22201,
    "h": 338.5
  },
  "luminance": 0.17102
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C82FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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