#8A1E45#8A1E45

#8A1E45 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.6% C 0.145 H 4.3°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#8A1E45
RGBrgb(138, 30, 69)
HSLhsl(338, 64%, 33%)
HSVhsv(338, 78%, 54%)
CMYKcmyk(0%, 78.3%, 50%, 45.9%)
CIE-LABlab(31.26, 47.26, 4.12)
CIE-LCHlch(31.26, 47.44, 4.99°)
OKLaboklab(42.63% 0.1447 0.011)
OKLCHoklch(42.63% 0.145 4.3)
XYZxyz(12.0207, 6.7631, 6.3015)
Luminance0.0676 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E45 #1E8A63
analogous
#8A1E7B #8A1E45 #8A2D1E
triadic
#8A1E45 #458A1E #1E458A
tetradic
#8A1E45 #7B8A1E #1E8A63 #2D1E8A
square
#8A1E45 #7B8A1E #1E8A63 #2D1E8A
split-complementary
#8A1E45 #1E8A2D #1E7B8A
monochromatic
#250813 #58132C #8A1E45 #BC295E #D84B7E

Accessibility & contrast

On white

8.93
#8A1E45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#8A1E45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1E45
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E45#FFFFFF#000000##FFFFFF
##8A1E451.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383C46
Deuteranopia (green-blind)
#555142
Tritanopia (blue-blind)
#97032F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a1e45;
/* rgb */ color: rgb(138, 30, 69);
/* oklch */ color: oklch(42.6% 0.145 4.3);
Tailwind
colors: {
  custom: {
    50: '#b16578',
    500: '#8a1e45',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e45;
$custom-light: #b16578;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e45",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 69
  },
  "hsl": {
    "h": 338.333,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4263,
    "c": 0.14507,
    "h": 4.3
  },
  "luminance": 0.06761
}

Semantic roles & 50–950 ramp

primary
#8A1E45
secondary
#4ABA92
accent
#E7AB41
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1E45

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

Preview Lab → · Contrast checker → · Palette generator →

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