#82186C#82186C

#82186C is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.4% C 0.165 H 338.3°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#82186C
RGBrgb(130, 24, 108)
HSLhsl(312, 69%, 30%)
HSVhsv(312, 82%, 51%)
CMYKcmyk(0%, 81.5%, 16.9%, 49%)
CIE-LABlab(30.60, 51.63, -22.47)
CIE-LCHlch(30.60, 56.31, 336.48°)
OKLaboklab(42.37% 0.1532 -0.061)
OKLCHoklch(42.37% 0.165 338.3)
XYZxyz(12.2396, 6.4830, 14.7912)
Luminance0.0648 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#82186C #18822E
analogous
#631882 #82186C #821837
triadic
#82186C #6C8218 #186C82
tetradic
#82186C #826318 #18822E #183782
square
#82186C #826318 #18822E #183782
split-complementary
#82186C #378218 #188263
monochromatic
#1B0516 #4E0E41 #82186C #B62297 #DB3AB9

Accessibility & contrast

On white

9.14
#82186C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#82186C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #82186C
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##82186C#FFFFFF#000000##FFFFFF
##82186C1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3E6E
Deuteranopia (green-blind)
#434E6A
Tritanopia (blue-blind)
#8A1E41
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #82186c;
/* rgb */ color: rgb(130, 24, 108);
/* oklch */ color: oklch(42.4% 0.165 338.3);
Tailwind
colors: {
  custom: {
    50: '#aa6396',
    500: '#82186c',
    950: '#000000',
  },
}
SCSS
$custom: #82186c;
$custom-light: #aa6396;
$custom-dark: #000000;
JSON
{
  "hex": "#82186c",
  "rgb": {
    "r": 130,
    "g": 24,
    "b": 108
  },
  "hsl": {
    "h": 312.453,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.42367,
    "c": 0.1649,
    "h": 338.3
  },
  "luminance": 0.06482
}

Semantic roles & 50–950 ramp

primary
#82186C
secondary
#40B658
accent
#EC613C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #82186C

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

Preview Lab → · Contrast checker → · Palette generator →

#82186C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva