#8A1835#8A1835

#8A1835 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.148 H 12.8°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#8A1835
RGBrgb(138, 24, 53)
HSLhsl(345, 70%, 32%)
HSVhsv(345, 83%, 54%)
CMYKcmyk(0%, 82.6%, 61.6%, 45.9%)
CIE-LABlab(30.19, 47.84, 13.25)
CIE-LCHlch(30.19, 49.64, 15.48°)
OKLaboklab(41.71% 0.1442 0.0327)
OKLCHoklch(41.71% 0.148 12.8)
XYZxyz(11.4517, 6.3153, 3.9835)
Luminance0.0631 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1835 #188A6D
analogous
#8A186E #8A1835 #8A3418
triadic
#8A1835 #358A18 #18358A
tetradic
#8A1835 #6E8A18 #188A6D #34188A
square
#8A1835 #6E8A18 #188A6D #34188A
split-complementary
#8A1835 #188A34 #186E8A
monochromatic
#22060D #560F21 #8A1835 #BE2149 #DE3F67

Accessibility & contrast

On white

9.28
#8A1835 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#8A1835 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1835
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1835#FFFFFF#000000##FFFFFF
##8A18351.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393835
Deuteranopia (green-blind)
#564F32
Tritanopia (blue-blind)
#980025
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8a1835;
/* rgb */ color: rgb(138, 24, 53);
/* oklch */ color: oklch(41.7% 0.148 12.8);
Tailwind
colors: {
  custom: {
    50: '#b3626b',
    500: '#8a1835',
    950: '#000000',
  },
}
SCSS
$custom: #8a1835;
$custom-light: #b3626b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1835",
  "rgb": {
    "r": 138,
    "g": 24,
    "b": 53
  },
  "hsl": {
    "h": 344.737,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4171,
    "c": 0.14788,
    "h": 12.8
  },
  "luminance": 0.06314
}

Semantic roles & 50–950 ramp

primary
#8A1835
secondary
#40BD9E
accent
#EDC03B
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8A1835

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

Preview Lab → · Contrast checker → · Palette generator →

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