#8A254D#8A254D

#8A254D is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.5% C 0.140 H 0.8°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#8A254D
RGBrgb(138, 37, 77)
HSLhsl(336, 58%, 34%)
HSVhsv(336, 73%, 54%)
CMYKcmyk(0%, 73.2%, 44.2%, 45.9%)
CIE-LABlab(32.40, 45.53, 0.51)
CIE-LCHlch(32.40, 45.54, 0.64°)
OKLaboklab(43.55% 0.1396 0.0019)
OKLCHoklch(43.55% 0.14 0.8)
XYZxyz(12.4833, 7.2638, 7.7644)
Luminance0.0726 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A254D #258A62
analogous
#8A2580 #8A254D #8A3025
triadic
#8A254D #4D8A25 #254D8A
tetradic
#8A254D #808A25 #258A62 #30258A
square
#8A254D #808A25 #258A62 #30258A
split-complementary
#8A254D #258A30 #25808A
monochromatic
#290B17 #5A1832 #8A254D #BA3268 #D25788

Accessibility & contrast

On white

8.56
#8A254D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A254D
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A254D#FFFFFF#000000##FFFFFF
##8A254D1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A404E
Deuteranopia (green-blind)
#56534B
Tritanopia (blue-blind)
#961636
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a254d;
/* rgb */ color: rgb(138, 37, 77);
/* oklch */ color: oklch(43.5% 0.140 0.8);
Tailwind
colors: {
  custom: {
    50: '#b1687e',
    500: '#8a254d',
    950: '#000000',
  },
}
SCSS
$custom: #8a254d;
$custom-light: #b1687e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a254d",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 77
  },
  "hsl": {
    "h": 336.238,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43548,
    "c": 0.13957,
    "h": 0.8
  },
  "luminance": 0.07262
}

Semantic roles & 50–950 ramp

primary
#8A254D
secondary
#54B790
accent
#E1A447
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8A254D

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

Preview Lab → · Contrast checker → · Palette generator →

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