#8A1534#8A1534

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

Color values

HEX#8A1534
RGBrgb(138, 21, 52)
HSLhsl(344, 74%, 31%)
HSVhsv(344, 85%, 54%)
CMYKcmyk(0%, 84.8%, 62.3%, 45.9%)
CIE-LABlab(29.89, 48.59, 13.50)
CIE-LCHlch(29.89, 50.43, 15.53°)
OKLaboklab(41.47% 0.1465 0.0332)
OKLCHoklch(41.47% 0.15 12.8)
XYZxyz(11.3704, 6.1893, 3.8441)
Luminance0.0619 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1534 #158A6B
analogous
#8A156E #8A1534 #8A3115
triadic
#8A1534 #348A15 #15348A
tetradic
#8A1534 #6E8A15 #158A6B #31158A
square
#8A1534 #6E8A15 #158A6B #31158A
split-complementary
#8A1534 #158A31 #156E8A
monochromatic
#20050C #550D20 #8A1534 #BF1D48 #E13965

Accessibility & contrast

On white

9.39
#8A1534 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1534
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1534#FFFFFF#000000##FFFFFF
##8A15341.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383734
Deuteranopia (green-blind)
#564F31
Tritanopia (blue-blind)
#980023
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #8a1534;
/* rgb */ color: rgb(138, 21, 52);
/* oklch */ color: oklch(41.5% 0.150 12.8);
Tailwind
colors: {
  custom: {
    50: '#b3616b',
    500: '#8a1534',
    950: '#000000',
  },
}
SCSS
$custom: #8a1534;
$custom-light: #b3616b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1534",
  "rgb": {
    "r": 138,
    "g": 21,
    "b": 52
  },
  "hsl": {
    "h": 344.103,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41474,
    "c": 0.15017,
    "h": 12.8
  },
  "luminance": 0.06188
}

Semantic roles & 50–950 ramp

primary
#8A1534
secondary
#3DBE9C
accent
#F0BF38
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8A1534

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

Preview Lab → · Contrast checker → · Palette generator →

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