#8A254C#8A254C

#8A254C is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.5% C 0.139 H 1.4°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#8A254C
RGBrgb(138, 37, 76)
HSLhsl(337, 58%, 34%)
HSVhsv(337, 73%, 54%)
CMYKcmyk(0%, 73.2%, 44.9%, 45.9%)
CIE-LABlab(32.37, 45.43, 1.12)
CIE-LCHlch(32.37, 45.44, 1.41°)
OKLaboklab(43.51% 0.1392 0.0034)
OKLCHoklch(43.51% 0.139 1.4)
XYZxyz(12.4482, 7.2498, 7.5799)
Luminance0.0725 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A254C #258A63
analogous
#8A257F #8A254C #8A3125
triadic
#8A254C #4C8A25 #254C8A
tetradic
#8A254C #7F8A25 #258A63 #31258A
square
#8A254C #7F8A25 #258A63 #31258A
split-complementary
#8A254C #258A31 #257F8A
monochromatic
#290B17 #5A1831 #8A254C #BA3267 #D25787

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A254C#FFFFFF#000000##FFFFFF
##8A254C1.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)
#3B404D
Deuteranopia (green-blind)
#56534A
Tritanopia (blue-blind)
#961635
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a254c;
/* rgb */ color: rgb(138, 37, 76);
/* oklch */ color: oklch(43.5% 0.139 1.4);
Tailwind
colors: {
  custom: {
    50: '#b1687d',
    500: '#8a254c',
    950: '#000000',
  },
}
SCSS
$custom: #8a254c;
$custom-light: #b1687d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a254c",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 76
  },
  "hsl": {
    "h": 336.832,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43514,
    "c": 0.13924,
    "h": 1.4
  },
  "luminance": 0.07248
}

Semantic roles & 50–950 ramp

primary
#8A254C
secondary
#54B791
accent
#E1A547
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110709
muted
#807A7B

Preview Lab

Preview with #8A254C

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

Preview Lab → · Contrast checker → · Palette generator →

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