#8A1438#8A1438

#8A1438 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.5% C 0.151 H 10.3°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#8A1438
RGBrgb(138, 20, 56)
HSLhsl(342, 75%, 31%)
HSVhsv(342, 86%, 54%)
CMYKcmyk(0%, 85.5%, 59.4%, 45.9%)
CIE-LABlab(29.89, 49.12, 10.84)
CIE-LCHlch(29.89, 50.30, 12.44°)
OKLaboklab(41.51% 0.1489 0.0271)
OKLCHoklch(41.51% 0.151 10.3)
XYZxyz(11.4464, 6.1908, 4.3328)
Luminance0.0619 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1438 #148A66
analogous
#8A1473 #8A1438 #8A2B14
triadic
#8A1438 #388A14 #14388A
tetradic
#8A1438 #738A14 #148A66 #2B148A
square
#8A1438 #738A14 #148A66 #2B148A
split-complementary
#8A1438 #148A2B #14738A
monochromatic
#1F050D #550C22 #8A1438 #BF1C4E #E2366B

Accessibility & contrast

On white

9.38
#8A1438 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#8A1438 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1438
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1438#FFFFFF#000000##FFFFFF
##8A14381.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373739
Deuteranopia (green-blind)
#554F35
Tritanopia (blue-blind)
#970024
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #8a1438;
/* rgb */ color: rgb(138, 20, 56);
/* oklch */ color: oklch(41.5% 0.151 10.3);
Tailwind
colors: {
  custom: {
    50: '#b3616e',
    500: '#8a1438',
    950: '#000000',
  },
}
SCSS
$custom: #8a1438;
$custom-light: #b3616e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1438",
  "rgb": {
    "r": 138,
    "g": 20,
    "b": 56
  },
  "hsl": {
    "h": 341.695,
    "s": 74.684,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41507,
    "c": 0.15137,
    "h": 10.3
  },
  "luminance": 0.06189
}

Semantic roles & 50–950 ramp

primary
#8A1438
secondary
#3CBE96
accent
#F1B836
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A1438

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

Preview Lab → · Contrast checker → · Palette generator →

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