#8A1A45#8A1A45

#8A1A45 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.149 H 3.6°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#8A1A45
RGBrgb(138, 26, 69)
HSLhsl(337, 68%, 32%)
HSVhsv(337, 81%, 54%)
CMYKcmyk(0%, 81.2%, 50%, 45.9%)
CIE-LABlab(30.82, 48.52, 3.48)
CIE-LCHlch(30.82, 48.65, 4.11°)
OKLaboklab(42.3% 0.1487 0.0094)
OKLCHoklch(42.3% 0.149 3.6)
XYZxyz(11.9258, 6.5734, 6.2699)
Luminance0.0657 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1A45 #1A8A5F
analogous
#8A1A7D #8A1A45 #8A271A
triadic
#8A1A45 #458A1A #1A458A
tetradic
#8A1A45 #7D8A1A #1A8A5F #271A8A
square
#8A1A45 #7D8A1A #1A8A5F #271A8A
split-complementary
#8A1A45 #1A8A27 #1A7D8A
monochromatic
#230712 #57102B #8A1A45 #BD245F #DC437D

Accessibility & contrast

On white

9.07
#8A1A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#8A1A45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1A45
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1A45#FFFFFF#000000##FFFFFF
##8A1A451.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363B46
Deuteranopia (green-blind)
#545042
Tritanopia (blue-blind)
#97002D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1a45;
/* rgb */ color: rgb(138, 26, 69);
/* oklch */ color: oklch(42.3% 0.149 3.6);
Tailwind
colors: {
  custom: {
    50: '#b26378',
    500: '#8a1a45',
    950: '#000000',
  },
}
SCSS
$custom: #8a1a45;
$custom-light: #b26378;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1a45",
  "rgb": {
    "r": 138,
    "g": 26,
    "b": 69
  },
  "hsl": {
    "h": 336.964,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42302,
    "c": 0.14902,
    "h": 3.6
  },
  "luminance": 0.06572
}

Semantic roles & 50–950 ramp

primary
#8A1A45
secondary
#43BD8E
accent
#EBA83D
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1A45

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

Preview Lab → · Contrast checker → · Palette generator →

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