#8A2457#8A2457

#8A2457 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.8% C 0.145 H 354.3°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#8A2457
RGBrgb(138, 36, 87)
HSLhsl(330, 59%, 34%)
HSVhsv(330, 74%, 54%)
CMYKcmyk(0%, 73.9%, 37%, 45.9%)
CIE-LABlab(32.60, 47.02, -5.71)
CIE-LCHlch(32.60, 47.37, 353.08°)
OKLaboklab(43.81% 0.1441 -0.0145)
OKLCHoklch(43.81% 0.145 354.3)
XYZxyz(12.8332, 7.3547, 9.7588)
Luminance0.0735 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2457 #248A57
analogous
#8A248A #8A2457 #8A2424
triadic
#8A2457 #578A24 #24578A
tetradic
#8A2457 #8A8A24 #248A57 #24248A
square
#8A2457 #8A8A24 #248A57 #24248A
split-complementary
#8A2457 #248A24 #248A8A
monochromatic
#290B1A #591738 #8A2457 #BB3176 #D35694

Accessibility & contrast

On white

8.50
#8A2457 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#8A2457 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2457
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2457#FFFFFF#000000##FFFFFF
##8A24571.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374158
Deuteranopia (green-blind)
#535355
Tritanopia (blue-blind)
#951A3A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a2457;
/* rgb */ color: rgb(138, 36, 87);
/* oklch */ color: oklch(43.8% 0.145 354.3);
Tailwind
colors: {
  custom: {
    50: '#b06886',
    500: '#8a2457',
    950: '#000000',
  },
}
SCSS
$custom: #8a2457;
$custom-light: #b06886;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2457",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 87
  },
  "hsl": {
    "h": 330,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43806,
    "c": 0.14485,
    "h": 354.3
  },
  "luminance": 0.07353
}

Semantic roles & 50–950 ramp

primary
#8A2457
secondary
#53B785
accent
#E29446
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A2457

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

Preview Lab → · Contrast checker → · Palette generator →

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