#8A1D3F#8A1D3F

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

Color values

HEX#8A1D3F
RGBrgb(138, 29, 63)
HSLhsl(341, 65%, 33%)
HSVhsv(341, 79%, 54%)
CMYKcmyk(0%, 79%, 54.3%, 45.9%)
CIE-LABlab(30.98, 47.07, 7.69)
CIE-LCHlch(30.98, 47.69, 9.28°)
OKLaboklab(42.37% 0.1434 0.0198)
OKLCHoklch(42.37% 0.145 7.8)
XYZxyz(11.8189, 6.6426, 5.3615)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D3F #1D8A68
analogous
#8A1D76 #8A1D3F #8A311D
triadic
#8A1D3F #3F8A1D #1D3F8A
tetradic
#8A1D3F #768A1D #1D8A68 #311D8A
square
#8A1D3F #768A1D #1D8A68 #311D8A
split-complementary
#8A1D3F #1D8A31 #1D768A
monochromatic
#250811 #571228 #8A1D3F #BD2856 #D94976

Accessibility & contrast

On white

9.02
#8A1D3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1D3F
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D3F#FFFFFF#000000##FFFFFF
##8A1D3F1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393B40
Deuteranopia (green-blind)
#56513C
Tritanopia (blue-blind)
#97002C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1d3f;
/* rgb */ color: rgb(138, 29, 63);
/* oklch */ color: oklch(42.4% 0.145 7.8);
Tailwind
colors: {
  custom: {
    50: '#b26473',
    500: '#8a1d3f',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d3f;
$custom-light: #b26473;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d3f",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 63
  },
  "hsl": {
    "h": 341.284,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42367,
    "c": 0.14472,
    "h": 7.8
  },
  "luminance": 0.06641
}

Semantic roles & 50–950 ramp

primary
#8A1D3F
secondary
#48BB97
accent
#E8B440
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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