#821B47#821B47

#821B47 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.0% C 0.142 H 0.1°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#821B47
RGBrgb(130, 27, 71)
HSLhsl(334, 66%, 31%)
HSVhsv(334, 79%, 51%)
CMYKcmyk(0%, 79.2%, 45.4%, 49%)
CIE-LABlab(29.38, 46.11, -0.13)
CIE-LCHlch(29.38, 46.11, 359.84°)
OKLaboklab(40.98% 0.1416 0.0002)
OKLCHoklch(40.98% 0.142 0.1)
XYZxyz(10.7360, 5.9860, 6.5501)
Luminance0.0599 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821B47 #1B8256
analogous
#821B7A #821B47 #82221B
triadic
#821B47 #47821B #1B4782
tetradic
#821B47 #7A821B #1B8256 #221B82
square
#821B47 #7A821B #1B8256 #221B82
split-complementary
#821B47 #1B8222 #1B7A82
monochromatic
#1D0610 #4F102B #821B47 #B52663 #D74081

Accessibility & contrast

On white

9.56
#821B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#821B47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821B47
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821B47#FFFFFF#000000##FFFFFF
##821B471.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333948
Deuteranopia (green-blind)
#4E4C45
Tritanopia (blue-blind)
#8D072E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #821b47;
/* rgb */ color: rgb(130, 27, 71);
/* oklch */ color: oklch(41.0% 0.142 0.1);
Tailwind
colors: {
  custom: {
    50: '#ab627a',
    500: '#821b47',
    950: '#000000',
  },
}
SCSS
$custom: #821b47;
$custom-light: #ab627a;
$custom-dark: #000000;
JSON
{
  "hex": "#821b47",
  "rgb": {
    "r": 130,
    "g": 27,
    "b": 71
  },
  "hsl": {
    "h": 334.369,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40975,
    "c": 0.14161,
    "h": 0.1
  },
  "luminance": 0.05985
}

Semantic roles & 50–950 ramp

primary
#821B47
secondary
#43B685
accent
#E9A03F
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #821B47

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

Preview Lab → · Contrast checker → · Palette generator →

#821B47 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva