#8A2451#8A2451

#8A2451 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.6% C 0.142 H 358.0°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#8A2451
RGBrgb(138, 36, 81)
HSLhsl(334, 59%, 34%)
HSVhsv(334, 74%, 54%)
CMYKcmyk(0%, 73.9%, 41.3%, 45.9%)
CIE-LABlab(32.39, 46.34, -2.11)
CIE-LCHlch(32.39, 46.39, 357.39°)
OKLaboklab(43.59% 0.1422 -0.005)
OKLCHoklch(43.59% 0.142 358)
XYZxyz(12.5982, 7.2607, 8.5210)
Luminance0.0726 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2451 #248A5D
analogous
#8A2484 #8A2451 #8A2A24
triadic
#8A2451 #518A24 #24518A
tetradic
#8A2451 #848A24 #248A5D #2A248A
square
#8A2451 #848A24 #248A5D #2A248A
split-complementary
#8A2451 #248A2A #24848A
monochromatic
#290B18 #591735 #8A2451 #BB316D #D3568D

Accessibility & contrast

On white

8.57
#8A2451 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#8A2451 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2451
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2451#FFFFFF#000000##FFFFFF
##8A24511.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394052
Deuteranopia (green-blind)
#55534F
Tritanopia (blue-blind)
#961737
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a2451;
/* rgb */ color: rgb(138, 36, 81);
/* oklch */ color: oklch(43.6% 0.142 358.0);
Tailwind
colors: {
  custom: {
    50: '#b16881',
    500: '#8a2451',
    950: '#000000',
  },
}
SCSS
$custom: #8a2451;
$custom-light: #b16881;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2451",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 81
  },
  "hsl": {
    "h": 333.529,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43585,
    "c": 0.14227,
    "h": 358
  },
  "luminance": 0.07259
}

Semantic roles & 50–950 ramp

primary
#8A2451
secondary
#53B78B
accent
#E29D46
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8A2451

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

Preview Lab → · Contrast checker → · Palette generator →

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