#8A1335#8A1335

#8A1335 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.4% C 0.152 H 11.9°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#8A1335
RGBrgb(138, 19, 53)
HSLhsl(343, 76%, 31%)
HSVhsv(343, 86%, 54%)
CMYKcmyk(0%, 86.2%, 61.6%, 45.9%)
CIE-LABlab(29.73, 49.15, 12.63)
CIE-LCHlch(29.73, 50.75, 14.41°)
OKLaboklab(41.37% 0.1485 0.0312)
OKLCHoklch(41.37% 0.152 11.9)
XYZxyz(11.3579, 6.1278, 3.9522)
Luminance0.0613 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1335 #138A68
analogous
#8A1370 #8A1335 #8A2C13
triadic
#8A1335 #358A13 #13358A
tetradic
#8A1335 #708A13 #138A68 #2C138A
square
#8A1335 #708A13 #138A68 #2C138A
split-complementary
#8A1335 #138A2C #13708A
monochromatic
#1E040C #540C20 #8A1335 #C01A4A #E33466

Accessibility & contrast

On white

9.44
#8A1335 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#8A1335 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1335
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1335#FFFFFF#000000##FFFFFF
##8A13351.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373735
Deuteranopia (green-blind)
#554F32
Tritanopia (blue-blind)
#980023
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #8a1335;
/* rgb */ color: rgb(138, 19, 53);
/* oklch */ color: oklch(41.4% 0.152 11.9);
Tailwind
colors: {
  custom: {
    50: '#b3616b',
    500: '#8a1335',
    950: '#000000',
  },
}
SCSS
$custom: #8a1335;
$custom-light: #b3616b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1335",
  "rgb": {
    "r": 138,
    "g": 19,
    "b": 53
  },
  "hsl": {
    "h": 342.857,
    "s": 75.796,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41369,
    "c": 0.15173,
    "h": 11.9
  },
  "luminance": 0.06126
}

Semantic roles & 50–950 ramp

primary
#8A1335
secondary
#3ABE99
accent
#F2BC35
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8A1335

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

Preview Lab → · Contrast checker → · Palette generator →

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