#822258#822258

#822258 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.141 H 350.3°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#822258
RGBrgb(130, 34, 88)
HSLhsl(326, 59%, 32%)
HSVhsv(326, 74%, 51%)
CMYKcmyk(0%, 73.8%, 32.3%, 49%)
CIE-LABlab(30.87, 45.57, -9.11)
CIE-LCHlch(30.87, 46.47, 348.69°)
OKLaboklab(42.27% 0.1391 -0.0237)
OKLCHoklch(42.27% 0.141 350.3)
XYZxyz(11.5400, 6.5958, 9.8960)
Luminance0.0659 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822258 #22824C
analogous
#7C2282 #822258 #822228
triadic
#822258 #588222 #225882
tetradic
#822258 #827C22 #22824C #222882
square
#822258 #827C22 #22824C #222882
split-complementary
#822258 #288222 #22827C
monochromatic
#210916 #511537 #822258 #B32F79 #D14E97

Accessibility & contrast

On white

9.06
#822258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#822258 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822258
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822258#FFFFFF#000000##FFFFFF
##8222581.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313E59
Deuteranopia (green-blind)
#4D4F56
Tritanopia (blue-blind)
#8C1C3A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #822258;
/* rgb */ color: rgb(130, 34, 88);
/* oklch */ color: oklch(42.3% 0.141 350.3);
Tailwind
colors: {
  custom: {
    50: '#aa6687',
    500: '#822258',
    950: '#000000',
  },
}
SCSS
$custom: #822258;
$custom-light: #aa6687;
$custom-dark: #000000;
JSON
{
  "hex": "#822258",
  "rgb": {
    "r": 130,
    "g": 34,
    "b": 88
  },
  "hsl": {
    "h": 326.25,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42268,
    "c": 0.14114,
    "h": 350.3
  },
  "luminance": 0.06594
}

Semantic roles & 50–950 ramp

primary
#822258
secondary
#4CB479
accent
#E28A46
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #822258

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

Preview Lab → · Contrast checker → · Palette generator →

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