#8A1537#8A1537

#8A1537 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.5% C 0.150 H 11.1°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#8A1537
RGBrgb(138, 21, 55)
HSLhsl(343, 74%, 31%)
HSVhsv(343, 85%, 54%)
CMYKcmyk(0%, 84.8%, 60.1%, 45.9%)
CIE-LABlab(29.95, 48.79, 11.59)
CIE-LCHlch(29.95, 50.15, 13.37°)
OKLaboklab(41.55% 0.1477 0.0289)
OKLCHoklch(41.55% 0.15 11.1)
XYZxyz(11.4402, 6.2172, 4.2113)
Luminance0.0621 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1537 #158A68
analogous
#8A1571 #8A1537 #8A2D15
triadic
#8A1537 #378A15 #15378A
tetradic
#8A1537 #718A15 #158A68 #2D158A
square
#8A1537 #718A15 #158A68 #2D158A
split-complementary
#8A1537 #158A2D #15718A
monochromatic
#20050D #550D22 #8A1537 #BF1D4C #E13969

Accessibility & contrast

On white

9.36
#8A1537 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#8A1537 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1537
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1537#FFFFFF#000000##FFFFFF
##8A15371.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373737
Deuteranopia (green-blind)
#554F34
Tritanopia (blue-blind)
#970024
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8a1537;
/* rgb */ color: rgb(138, 21, 55);
/* oklch */ color: oklch(41.5% 0.150 11.1);
Tailwind
colors: {
  custom: {
    50: '#b3616d',
    500: '#8a1537',
    950: '#000000',
  },
}
SCSS
$custom: #8a1537;
$custom-light: #b3616d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1537",
  "rgb": {
    "r": 138,
    "g": 21,
    "b": 55
  },
  "hsl": {
    "h": 342.564,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41547,
    "c": 0.15048,
    "h": 11.1
  },
  "luminance": 0.06215
}

Semantic roles & 50–950 ramp

primary
#8A1537
secondary
#3DBE98
accent
#F0BB38
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A1537

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

Preview Lab → · Contrast checker → · Palette generator →

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