#821740#821740

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

Color values

HEX#821740
RGBrgb(130, 23, 64)
HSLhsl(337, 70%, 30%)
HSVhsv(337, 82%, 51%)
CMYKcmyk(0%, 82.3%, 50.8%, 49%)
CIE-LABlab(28.72, 46.68, 3.60)
CIE-LCHlch(28.72, 46.82, 4.41°)
OKLaboklab(40.42% 0.143 0.0097)
OKLCHoklch(40.42% 0.143 3.9)
XYZxyz(10.4386, 5.7302, 5.4059)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821740 #178259
analogous
#821776 #821740 #822317
triadic
#821740 #408217 #174082
tetradic
#821740 #768217 #178259 #231782
square
#821740 #768217 #178259 #231782
split-complementary
#821740 #178223 #177682
monochromatic
#1A050D #4E0E26 #821740 #B6205A #DC3877

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##821740#FFFFFF#000000##FFFFFF
##8217401.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)
#333641
Deuteranopia (green-blind)
#4F4B3D
Tritanopia (blue-blind)
#8E0029
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #821740;
/* rgb */ color: rgb(130, 23, 64);
/* oklch */ color: oklch(40.4% 0.143 3.9);
Tailwind
colors: {
  custom: {
    50: '#ac6174',
    500: '#821740',
    950: '#000000',
  },
}
SCSS
$custom: #821740;
$custom-light: #ac6174;
$custom-dark: #000000;
JSON
{
  "hex": "#821740",
  "rgb": {
    "r": 130,
    "g": 23,
    "b": 64
  },
  "hsl": {
    "h": 337.009,
    "s": 69.935,
    "l": 30
  },
  "oklch": {
    "l": 0.40422,
    "c": 0.14337,
    "h": 3.9
  },
  "luminance": 0.05729
}

Semantic roles & 50–950 ramp

primary
#821740
secondary
#3EB688
accent
#EDA93B
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110508
muted
#807A7B

Preview Lab

Preview with #821740

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

Preview Lab → · Contrast checker → · Palette generator →

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