#8A1D3E#8A1D3E

#8A1D3E is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.145 H 8.5°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#8A1D3E
RGBrgb(138, 29, 62)
HSLhsl(342, 65%, 33%)
HSVhsv(342, 79%, 54%)
CMYKcmyk(0%, 79%, 55.1%, 45.9%)
CIE-LABlab(30.95, 46.99, 8.32)
CIE-LCHlch(30.95, 47.72, 10.04°)
OKLaboklab(42.34% 0.143 0.0213)
OKLCHoklch(42.34% 0.145 8.5)
XYZxyz(11.7912, 6.6315, 5.2156)
Luminance0.0663 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D3E #1D8A69
analogous
#8A1D74 #8A1D3E #8A331D
triadic
#8A1D3E #3E8A1D #1D3E8A
tetradic
#8A1D3E #748A1D #1D8A69 #331D8A
square
#8A1D3E #748A1D #1D8A69 #331D8A
split-complementary
#8A1D3E #1D8A33 #1D748A
monochromatic
#250811 #571227 #8A1D3E #BD2855 #D94974

Accessibility & contrast

On white

9.03
#8A1D3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#8A1D3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1D3E
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D3E#FFFFFF#000000##FFFFFF
##8A1D3E1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3B3F
Deuteranopia (green-blind)
#56513B
Tritanopia (blue-blind)
#97002B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1d3e;
/* rgb */ color: rgb(138, 29, 62);
/* oklch */ color: oklch(42.3% 0.145 8.5);
Tailwind
colors: {
  custom: {
    50: '#b26473',
    500: '#8a1d3e',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d3e;
$custom-light: #b26473;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d3e",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 62
  },
  "hsl": {
    "h": 341.835,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.4234,
    "c": 0.14454,
    "h": 8.5
  },
  "luminance": 0.0663
}

Semantic roles & 50–950 ramp

primary
#8A1D3E
secondary
#48BB98
accent
#E8B540
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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