#8A1945#8A1945

#8A1945 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.2% C 0.150 H 3.4°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#8A1945
RGBrgb(138, 25, 69)
HSLhsl(337, 69%, 32%)
HSVhsv(337, 82%, 54%)
CMYKcmyk(0%, 81.9%, 50%, 45.9%)
CIE-LABlab(30.71, 48.82, 3.34)
CIE-LCHlch(30.71, 48.93, 3.91°)
OKLaboklab(42.23% 0.1497 0.009)
OKLCHoklch(42.23% 0.15 3.4)
XYZxyz(11.9041, 6.5299, 6.2626)
Luminance0.0653 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1945 #198A5E
analogous
#8A197E #8A1945 #8A2619
triadic
#8A1945 #458A19 #19458A
tetradic
#8A1945 #7E8A19 #198A5E #26198A
square
#8A1945 #7E8A19 #198A5E #26198A
split-complementary
#8A1945 #198A26 #197E8A
monochromatic
#220611 #56102B #8A1945 #BE225F #DD417D

Accessibility & contrast

On white

9.11
#8A1945 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1945
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1945#FFFFFF#000000##FFFFFF
##8A19451.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1945;
/* rgb */ color: rgb(138, 25, 69);
/* oklch */ color: oklch(42.2% 0.150 3.4);
Tailwind
colors: {
  custom: {
    50: '#b26378',
    500: '#8a1945',
    950: '#000000',
  },
}
SCSS
$custom: #8a1945;
$custom-light: #b26378;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1945",
  "rgb": {
    "r": 138,
    "g": 25,
    "b": 69
  },
  "hsl": {
    "h": 336.637,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42226,
    "c": 0.14993,
    "h": 3.4
  },
  "luminance": 0.06528
}

Semantic roles & 50–950 ramp

primary
#8A1945
secondary
#42BD8D
accent
#ECA73C
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1945

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

Preview Lab → · Contrast checker → · Palette generator →

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