#8A183D#8A183D

#8A183D is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.9% C 0.149 H 8.1°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#8A183D
RGBrgb(138, 24, 61)
HSLhsl(341, 70%, 32%)
HSVhsv(341, 83%, 54%)
CMYKcmyk(0%, 82.6%, 55.8%, 45.9%)
CIE-LABlab(30.39, 48.43, 8.19)
CIE-LCHlch(30.39, 49.12, 9.60°)
OKLaboklab(41.92% 0.1475 0.0209)
OKLCHoklch(41.92% 0.149 8.1)
XYZxyz(11.6513, 6.3952, 5.0348)
Luminance0.0639 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A183D #188A65
analogous
#8A1876 #8A183D #8A2C18
triadic
#8A183D #3D8A18 #183D8A
tetradic
#8A183D #768A18 #188A65 #2C188A
square
#8A183D #768A18 #188A65 #2C188A
split-complementary
#8A183D #188A2C #18768A
monochromatic
#22060F #560F26 #8A183D #BE2154 #DE3F72

Accessibility & contrast

On white

9.22
#8A183D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#8A183D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A183D
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A183D#FFFFFF#000000##FFFFFF
##8A183D1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37393E
Deuteranopia (green-blind)
#55503A
Tritanopia (blue-blind)
#970029
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a183d;
/* rgb */ color: rgb(138, 24, 61);
/* oklch */ color: oklch(41.9% 0.149 8.1);
Tailwind
colors: {
  custom: {
    50: '#b26272',
    500: '#8a183d',
    950: '#000000',
  },
}
SCSS
$custom: #8a183d;
$custom-light: #b26272;
$custom-dark: #000000;
JSON
{
  "hex": "#8a183d",
  "rgb": {
    "r": 138,
    "g": 24,
    "b": 61
  },
  "hsl": {
    "h": 340.526,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41915,
    "c": 0.14897,
    "h": 8.1
  },
  "luminance": 0.06393
}

Semantic roles & 50–950 ramp

primary
#8A183D
secondary
#40BD95
accent
#EDB33B
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A183D

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

Preview Lab → · Contrast checker → · Palette generator →

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