#8A1D41#8A1D41

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

Color values

HEX#8A1D41
RGBrgb(138, 29, 65)
HSLhsl(340, 65%, 33%)
HSVhsv(340, 79%, 54%)
CMYKcmyk(0%, 79%, 52.9%, 45.9%)
CIE-LABlab(31.03, 47.24, 6.44)
CIE-LCHlch(31.03, 47.68, 7.77°)
OKLaboklab(42.42% 0.1442 0.0167)
OKLCHoklch(42.42% 0.145 6.6)
XYZxyz(11.8758, 6.6653, 5.6612)
Luminance0.0666 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D41 #1D8A66
analogous
#8A1D78 #8A1D41 #8A2F1D
triadic
#8A1D41 #418A1D #1D418A
tetradic
#8A1D41 #788A1D #1D8A66 #2F1D8A
square
#8A1D41 #788A1D #1D8A66 #2F1D8A
split-complementary
#8A1D41 #1D8A2F #1D788A
monochromatic
#250811 #571229 #8A1D41 #BD2859 #D94978

Accessibility & contrast

On white

9.00
#8A1D41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1D41
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D41#FFFFFF#000000##FFFFFF
##8A1D411.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393B42
Deuteranopia (green-blind)
#55513E
Tritanopia (blue-blind)
#97002D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1d41;
/* rgb */ color: rgb(138, 29, 65);
/* oklch */ color: oklch(42.4% 0.145 6.6);
Tailwind
colors: {
  custom: {
    50: '#b26475',
    500: '#8a1d41',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d41;
$custom-light: #b26475;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d41",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 65
  },
  "hsl": {
    "h": 340.183,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42424,
    "c": 0.14513,
    "h": 6.6
  },
  "luminance": 0.06664
}

Semantic roles & 50–950 ramp

primary
#8A1D41
secondary
#48BB95
accent
#E8B140
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1D41

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

Preview Lab → · Contrast checker → · Palette generator →

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