#821742#821742

#821742 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.5% C 0.144 H 2.6°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#821742
RGBrgb(130, 23, 66)
HSLhsl(336, 70%, 30%)
HSVhsv(336, 82%, 51%)
CMYKcmyk(0%, 82.3%, 49.2%, 49%)
CIE-LABlab(28.78, 46.86, 2.34)
CIE-LCHlch(28.78, 46.92, 2.86°)
OKLaboklab(40.49% 0.1438 0.0065)
OKLCHoklch(40.49% 0.144 2.6)
XYZxyz(10.4966, 5.7534, 5.7110)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821742 #178257
analogous
#821777 #821742 #822217
triadic
#821742 #428217 #174282
tetradic
#821742 #778217 #178257 #221782
square
#821742 #778217 #178257 #221782
split-complementary
#821742 #178222 #177782
monochromatic
#1A050D #4E0E28 #821742 #B6205C #DC387A

Accessibility & contrast

On white

9.77
#821742 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #821742
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821742#FFFFFF#000000##FFFFFF
##8217421.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323743
Deuteranopia (green-blind)
#4E4B40
Tritanopia (blue-blind)
#8E002A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #821742;
/* rgb */ color: rgb(130, 23, 66);
/* oklch */ color: oklch(40.5% 0.144 2.6);
Tailwind
colors: {
  custom: {
    50: '#ac6176',
    500: '#821742',
    950: '#000000',
  },
}
SCSS
$custom: #821742;
$custom-light: #ac6176;
$custom-dark: #000000;
JSON
{
  "hex": "#821742",
  "rgb": {
    "r": 130,
    "g": 23,
    "b": 66
  },
  "hsl": {
    "h": 335.888,
    "s": 69.935,
    "l": 30
  },
  "oklch": {
    "l": 0.40486,
    "c": 0.14394,
    "h": 2.6
  },
  "luminance": 0.05752
}

Semantic roles & 50–950 ramp

primary
#821742
secondary
#3EB686
accent
#EDA53B
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110508
muted
#807A7B

Preview Lab

Preview with #821742

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

Preview Lab → · Contrast checker → · Palette generator →

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