#822157#822157

#822157 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.1% C 0.142 H 350.8°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#822157
RGBrgb(130, 33, 87)
HSLhsl(327, 60%, 32%)
HSVhsv(327, 75%, 51%)
CMYKcmyk(0%, 74.6%, 33.1%, 49%)
CIE-LABlab(30.70, 45.82, -8.72)
CIE-LCHlch(30.70, 46.64, 349.22°)
OKLaboklab(42.13% 0.14 -0.0227)
OKLCHoklch(42.13% 0.142 350.8)
XYZxyz(11.4707, 6.5230, 9.6700)
Luminance0.0652 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822157 #21824C
analogous
#7D2182 #822157 #822127
triadic
#822157 #578221 #215782
tetradic
#822157 #827D21 #21824C #212782
square
#822157 #827D21 #21824C #212782
split-complementary
#822157 #278221 #21827D
monochromatic
#200816 #511536 #822157 #B32D78 #D24C96

Accessibility & contrast

On white

9.11
#822157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#822157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822157
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822157#FFFFFF#000000##FFFFFF
##8221571.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313D58
Deuteranopia (green-blind)
#4D4F55
Tritanopia (blue-blind)
#8C1B39
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #822157;
/* rgb */ color: rgb(130, 33, 87);
/* oklch */ color: oklch(42.1% 0.142 350.8);
Tailwind
colors: {
  custom: {
    50: '#aa6686',
    500: '#822157',
    950: '#000000',
  },
}
SCSS
$custom: #822157;
$custom-light: #aa6686;
$custom-dark: #000000;
JSON
{
  "hex": "#822157",
  "rgb": {
    "r": 130,
    "g": 33,
    "b": 87
  },
  "hsl": {
    "h": 326.598,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42128,
    "c": 0.14184,
    "h": 350.8
  },
  "luminance": 0.06522
}

Semantic roles & 50–950 ramp

primary
#822157
secondary
#4AB479
accent
#E38B45
background
#FAF6F8
surface
#F5EBEF
border
#CFC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #822157

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

Preview Lab → · Contrast checker → · Palette generator →

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