#821B45#821B45

#821B45 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.9% C 0.141 H 1.4°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#821B45
RGBrgb(130, 27, 69)
HSLhsl(336, 66%, 31%)
HSVhsv(336, 79%, 51%)
CMYKcmyk(0%, 79.2%, 46.9%, 49%)
CIE-LABlab(29.31, 45.91, 1.11)
CIE-LCHlch(29.31, 45.92, 1.39°)
OKLaboklab(40.91% 0.1409 0.0034)
OKLCHoklch(40.91% 0.141 1.4)
XYZxyz(10.6729, 5.9608, 6.2176)
Luminance0.0596 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821B45 #1B8258
analogous
#821B78 #821B45 #82241B
triadic
#821B45 #45821B #1B4582
tetradic
#821B45 #78821B #1B8258 #241B82
square
#821B45 #78821B #1B8258 #241B82
split-complementary
#821B45 #1B8224 #1B7882
monochromatic
#1D060F #4F102A #821B45 #B52660 #D7407E

Accessibility & contrast

On white

9.58
#821B45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#821B45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821B45
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821B45#FFFFFF#000000##FFFFFF
##821B451.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333846
Deuteranopia (green-blind)
#4F4C43
Tritanopia (blue-blind)
#8E052D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #821b45;
/* rgb */ color: rgb(130, 27, 69);
/* oklch */ color: oklch(40.9% 0.141 1.4);
Tailwind
colors: {
  custom: {
    50: '#ab6278',
    500: '#821b45',
    950: '#000000',
  },
}
SCSS
$custom: #821b45;
$custom-light: #ab6278;
$custom-dark: #000000;
JSON
{
  "hex": "#821b45",
  "rgb": {
    "r": 130,
    "g": 27,
    "b": 69
  },
  "hsl": {
    "h": 335.534,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40907,
    "c": 0.14094,
    "h": 1.4
  },
  "luminance": 0.05959
}

Semantic roles & 50–950 ramp

primary
#821B45
secondary
#43B687
accent
#E9A43F
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #821B45

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

Preview Lab → · Contrast checker → · Palette generator →

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