#8A1948#8A1948

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

Color values

HEX#8A1948
RGBrgb(138, 25, 72)
HSLhsl(335, 69%, 32%)
HSVhsv(335, 82%, 54%)
CMYKcmyk(0%, 81.9%, 47.8%, 45.9%)
CIE-LABlab(30.80, 49.09, 1.48)
CIE-LCHlch(30.80, 49.12, 1.73°)
OKLaboklab(42.32% 0.1508 0.0043)
OKLCHoklch(42.32% 0.151 1.6)
XYZxyz(11.9996, 6.5681, 6.7655)
Luminance0.0657 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1948 #198A5B
analogous
#8A1981 #8A1948 #8A2219
triadic
#8A1948 #488A19 #19488A
tetradic
#8A1948 #818A19 #198A5B #22198A
square
#8A1948 #818A19 #198A5B #22198A
split-complementary
#8A1948 #198A22 #19818A
monochromatic
#220612 #56102D #8A1948 #BE2263 #DD4182

Accessibility & contrast

On white

9.08
#8A1948 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1948
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1948#FFFFFF#000000##FFFFFF
##8A19481.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353B49
Deuteranopia (green-blind)
#535045
Tritanopia (blue-blind)
#96002E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1948;
/* rgb */ color: rgb(138, 25, 72);
/* oklch */ color: oklch(42.3% 0.151 1.6);
Tailwind
colors: {
  custom: {
    50: '#b1637a',
    500: '#8a1948',
    950: '#000000',
  },
}
SCSS
$custom: #8a1948;
$custom-light: #b1637a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1948",
  "rgb": {
    "r": 138,
    "g": 25,
    "b": 72
  },
  "hsl": {
    "h": 335.044,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42322,
    "c": 0.15083,
    "h": 1.6
  },
  "luminance": 0.06566
}

Semantic roles & 50–950 ramp

primary
#8A1948
secondary
#42BD8A
accent
#ECA33C
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8A1948

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

Preview Lab → · Contrast checker → · Palette generator →

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