#8A1D4E#8A1D4E

#8A1D4E is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.8% C 0.149 H 358.6°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#8A1D4E
RGBrgb(138, 29, 78)
HSLhsl(333, 65%, 33%)
HSVhsv(333, 79%, 54%)
CMYKcmyk(0%, 79%, 43.5%, 45.9%)
CIE-LABlab(31.43, 48.46, -1.57)
CIE-LCHlch(31.43, 48.49, 358.14°)
OKLaboklab(42.84% 0.149 -0.0035)
OKLCHoklch(42.84% 0.149 358.6)
XYZxyz(12.2967, 6.8337, 7.8777)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D4E #1D8A59
analogous
#8A1D84 #8A1D4E #8A231D
triadic
#8A1D4E #4E8A1D #1D4E8A
tetradic
#8A1D4E #848A1D #1D8A59 #231D8A
square
#8A1D4E #848A1D #1D8A59 #231D8A
split-complementary
#8A1D4E #1D8A23 #1D848A
monochromatic
#250815 #571231 #8A1D4E #BD286B #D94989

Accessibility & contrast

On white

8.87
#8A1D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#8A1D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1D4E
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D4E#FFFFFF#000000##FFFFFF
##8A1D4E1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353D4F
Deuteranopia (green-blind)
#53514C
Tritanopia (blue-blind)
#960933
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a1d4e;
/* rgb */ color: rgb(138, 29, 78);
/* oklch */ color: oklch(42.8% 0.149 358.6);
Tailwind
colors: {
  custom: {
    50: '#b1657f',
    500: '#8a1d4e',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d4e;
$custom-light: #b1657f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d4e",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 78
  },
  "hsl": {
    "h": 333.028,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42841,
    "c": 0.14899,
    "h": 358.6
  },
  "luminance": 0.06832
}

Semantic roles & 50–950 ramp

primary
#8A1D4E
secondary
#48BB87
accent
#E89C40
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #8A1D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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