#8A1848#8A1848

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

Color values

HEX#8A1848
RGBrgb(138, 24, 72)
HSLhsl(335, 70%, 32%)
HSVhsv(335, 83%, 54%)
CMYKcmyk(0%, 82.6%, 47.8%, 45.9%)
CIE-LABlab(30.70, 49.38, 1.33)
CIE-LCHlch(30.70, 49.40, 1.55°)
OKLaboklab(42.25% 0.1517 0.004)
OKLCHoklch(42.25% 0.152 1.5)
XYZxyz(11.9786, 6.5261, 6.7585)
Luminance0.0652 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1848 #188A5A
analogous
#8A1881 #8A1848 #8A2118
triadic
#8A1848 #488A18 #18488A
tetradic
#8A1848 #818A18 #188A5A #21188A
square
#8A1848 #818A18 #188A5A #21188A
split-complementary
#8A1848 #188A21 #18818A
monochromatic
#220612 #560F2D #8A1848 #BE2163 #DE3F82

Accessibility & contrast

On white

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

On black

2.30
#8A1848 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8A1848#FFFFFF#000000##FFFFFF
##8A18481.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1848;
/* rgb */ color: rgb(138, 24, 72);
/* oklch */ color: oklch(42.2% 0.152 1.5);
Tailwind
colors: {
  custom: {
    50: '#b2637a',
    500: '#8a1848',
    950: '#000000',
  },
}
SCSS
$custom: #8a1848;
$custom-light: #b2637a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1848",
  "rgb": {
    "r": 138,
    "g": 24,
    "b": 72
  },
  "hsl": {
    "h": 334.737,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42249,
    "c": 0.15173,
    "h": 1.5
  },
  "luminance": 0.06524
}

Semantic roles & 50–950 ramp

primary
#8A1848
secondary
#40BD89
accent
#EDA23B
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8A1848

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

Preview Lab → · Contrast checker → · Palette generator →

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