#821938#821938

#821938 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.3% C 0.140 H 9.3°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#821938
RGBrgb(130, 25, 56)
HSLhsl(342, 68%, 30%)
HSVhsv(342, 81%, 51%)
CMYKcmyk(0%, 80.8%, 56.9%, 49%)
CIE-LABlab(28.72, 45.39, 8.96)
CIE-LCHlch(28.72, 46.27, 11.16°)
OKLaboklab(40.35% 0.1379 0.0227)
OKLCHoklch(40.35% 0.14 9.3)
XYZxyz(10.2683, 5.7281, 4.3056)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821938 #198263
analogous
#82196C #821938 #822F19
triadic
#821938 #388219 #193882
tetradic
#821938 #6C8219 #198263 #2F1982
square
#821938 #6C8219 #198263 #2F1982
split-complementary
#821938 #19822F #196C82
monochromatic
#1B050C #4F0F22 #821938 #B5234E #D93C6A

Accessibility & contrast

On white

9.79
#821938 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#821938 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821938
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821938#FFFFFF#000000##FFFFFF
##8219381.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353639
Deuteranopia (green-blind)
#514B35
Tritanopia (blue-blind)
#8E0026
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #821938;
/* rgb */ color: rgb(130, 25, 56);
/* oklch */ color: oklch(40.3% 0.140 9.3);
Tailwind
colors: {
  custom: {
    50: '#ac616e',
    500: '#821938',
    950: '#000000',
  },
}
SCSS
$custom: #821938;
$custom-light: #ac616e;
$custom-dark: #000000;
JSON
{
  "hex": "#821938",
  "rgb": {
    "r": 130,
    "g": 25,
    "b": 56
  },
  "hsl": {
    "h": 342.286,
    "s": 67.742,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40347,
    "c": 0.13977,
    "h": 9.3
  },
  "luminance": 0.05727
}

Semantic roles & 50–950 ramp

primary
#821938
secondary
#41B693
accent
#EBB73D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110507
muted
#807A7A

Preview Lab

Preview with #821938

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

Preview Lab → · Contrast checker → · Palette generator →

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