#8A1A4B#8A1A4B

#8A1A4B is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.5% C 0.151 H 360.0°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#8A1A4B
RGBrgb(138, 26, 75)
HSLhsl(334, 68%, 32%)
HSVhsv(334, 81%, 54%)
CMYKcmyk(0%, 81.2%, 45.7%, 45.9%)
CIE-LABlab(31.00, 49.09, -0.22)
CIE-LCHlch(31.00, 49.09, 359.75°)
OKLaboklab(42.5% 0.1509 0)
OKLCHoklch(42.5% 0.151 0)
XYZxyz(12.1216, 6.6517, 7.3008)
Luminance0.0665 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1A4B #1A8A59
analogous
#8A1A83 #8A1A4B #8A211A
triadic
#8A1A4B #4B8A1A #1A4B8A
tetradic
#8A1A4B #838A1A #1A8A59 #211A8A
square
#8A1A4B #838A1A #1A8A59 #211A8A
split-complementary
#8A1A4B #1A8A21 #1A838A
monochromatic
#230713 #57102F #8A1A4B #BD2467 #DC4386

Accessibility & contrast

On white

9.01
#8A1A4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1A4B
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1A4B#FFFFFF#000000##FFFFFF
##8A1A4B1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353B4C
Deuteranopia (green-blind)
#535148
Tritanopia (blue-blind)
#960030
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1a4b;
/* rgb */ color: rgb(138, 26, 75);
/* oklch */ color: oklch(42.5% 0.151 360.0);
Tailwind
colors: {
  custom: {
    50: '#b1647d',
    500: '#8a1a4b',
    950: '#000000',
  },
}
SCSS
$custom: #8a1a4b;
$custom-light: #b1647d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1a4b",
  "rgb": {
    "r": 138,
    "g": 26,
    "b": 75
  },
  "hsl": {
    "h": 333.75,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42498,
    "c": 0.15089,
    "h": 360
  },
  "luminance": 0.0665
}

Semantic roles & 50–950 ramp

primary
#8A1A4B
secondary
#43BD87
accent
#EB9F3D
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B

Preview Lab

Preview with #8A1A4B

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

Preview Lab → · Contrast checker → · Palette generator →

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