#8A1738#8A1738

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

Color values

HEX#8A1738
RGBrgb(138, 23, 56)
HSLhsl(343, 71%, 32%)
HSVhsv(343, 83%, 54%)
CMYKcmyk(0%, 83.3%, 59.4%, 45.9%)
CIE-LABlab(30.17, 48.33, 11.22)
CIE-LCHlch(30.17, 49.61, 13.06°)
OKLaboklab(41.71% 0.1464 0.028)
OKLCHoklch(41.71% 0.149 10.8)
XYZxyz(11.5026, 6.3033, 4.3516)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1738 #178A69
analogous
#8A1772 #8A1738 #8A3017
triadic
#8A1738 #388A17 #17388A
tetradic
#8A1738 #728A17 #178A69 #30178A
square
#8A1738 #728A17 #178A69 #30178A
split-complementary
#8A1738 #178A30 #17728A
monochromatic
#21060D #560E23 #8A1738 #BE204D #DF3D6B

Accessibility & contrast

On white

9.29
#8A1738 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1738
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1738#FFFFFF#000000##FFFFFF
##8A17381.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383838
Deuteranopia (green-blind)
#554F35
Tritanopia (blue-blind)
#970026
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8a1738;
/* rgb */ color: rgb(138, 23, 56);
/* oklch */ color: oklch(41.7% 0.149 10.8);
Tailwind
colors: {
  custom: {
    50: '#b3626e',
    500: '#8a1738',
    950: '#000000',
  },
}
SCSS
$custom: #8a1738;
$custom-light: #b3626e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1738",
  "rgb": {
    "r": 138,
    "g": 23,
    "b": 56
  },
  "hsl": {
    "h": 342.783,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4171,
    "c": 0.14903,
    "h": 10.8
  },
  "luminance": 0.06302
}

Semantic roles & 50–950 ramp

primary
#8A1738
secondary
#3FBE99
accent
#EEBA3A
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A1738

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

Preview Lab → · Contrast checker → · Palette generator →

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