#8A1737#8A1737

#8A1737 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.149 H 11.4°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#8A1737
RGBrgb(138, 23, 55)
HSLhsl(343, 71%, 32%)
HSVhsv(343, 83%, 54%)
CMYKcmyk(0%, 83.3%, 60.1%, 45.9%)
CIE-LABlab(30.14, 48.26, 11.85)
CIE-LCHlch(30.14, 49.69, 13.79°)
OKLaboklab(41.69% 0.146 0.0295)
OKLCHoklch(41.69% 0.149 11.4)
XYZxyz(11.4784, 6.2936, 4.2241)
Luminance0.0629 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1737 #178A6A
analogous
#8A1771 #8A1737 #8A3017
triadic
#8A1737 #378A17 #17378A
tetradic
#8A1737 #718A17 #178A6A #30178A
square
#8A1737 #718A17 #178A6A #30178A
split-complementary
#8A1737 #178A30 #17718A
monochromatic
#21060D #560E22 #8A1737 #BE204C #DF3D6A

Accessibility & contrast

On white

9.30
#8A1737 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#8A1737 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1737
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1737#FFFFFF#000000##FFFFFF
##8A17371.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383837
Deuteranopia (green-blind)
#564F34
Tritanopia (blue-blind)
#970025
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8a1737;
/* rgb */ color: rgb(138, 23, 55);
/* oklch */ color: oklch(41.7% 0.149 11.4);
Tailwind
colors: {
  custom: {
    50: '#b3626d',
    500: '#8a1737',
    950: '#000000',
  },
}
SCSS
$custom: #8a1737;
$custom-light: #b3626d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1737",
  "rgb": {
    "r": 138,
    "g": 23,
    "b": 55
  },
  "hsl": {
    "h": 343.304,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41685,
    "c": 0.1489,
    "h": 11.4
  },
  "luminance": 0.06292
}

Semantic roles & 50–950 ramp

primary
#8A1737
secondary
#3FBE9A
accent
#EEBC3A
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A1737

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

Preview Lab → · Contrast checker → · Palette generator →

#8A1737 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva