#822148#822148

#822148 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.6% C 0.135 H 0.6°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#822148
RGBrgb(130, 33, 72)
HSLhsl(336, 60%, 32%)
HSVhsv(336, 75%, 51%)
CMYKcmyk(0%, 74.6%, 44.6%, 49%)
CIE-LABlab(30.16, 44.09, 0.36)
CIE-LCHlch(30.16, 44.09, 0.46°)
OKLaboklab(41.56% 0.1352 0.0014)
OKLCHoklch(41.56% 0.135 0.6)
XYZxyz(10.9203, 6.3028, 6.7711)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822148 #21825B
analogous
#822179 #822148 #822A21
triadic
#822148 #488221 #214882
tetradic
#822148 #798221 #21825B #2A2182
square
#822148 #798221 #21825B #2A2182
split-complementary
#822148 #21822A #217982
monochromatic
#200812 #51152D #822148 #B32D63 #D24C82

Accessibility & contrast

On white

9.29
#822148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#822148 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822148
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822148#FFFFFF#000000##FFFFFF
##8221481.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363B49
Deuteranopia (green-blind)
#504E46
Tritanopia (blue-blind)
#8D1231
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #822148;
/* rgb */ color: rgb(130, 33, 72);
/* oklch */ color: oklch(41.6% 0.135 0.6);
Tailwind
colors: {
  custom: {
    50: '#ab657a',
    500: '#822148',
    950: '#000000',
  },
}
SCSS
$custom: #822148;
$custom-light: #ab657a;
$custom-dark: #000000;
JSON
{
  "hex": "#822148",
  "rgb": {
    "r": 130,
    "g": 33,
    "b": 72
  },
  "hsl": {
    "h": 335.876,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41564,
    "c": 0.1352,
    "h": 0.6
  },
  "luminance": 0.06301
}

Semantic roles & 50–950 ramp

primary
#822148
secondary
#4AB48A
accent
#E3A345
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #822148

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

Preview Lab → · Contrast checker → · Palette generator →

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