#8A254B#8A254B

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

Color values

HEX#8A254B
RGBrgb(138, 37, 75)
HSLhsl(337, 58%, 34%)
HSVhsv(337, 73%, 54%)
CMYKcmyk(0%, 73.2%, 45.7%, 45.9%)
CIE-LABlab(32.34, 45.33, 1.73)
CIE-LCHlch(32.34, 45.36, 2.19°)
OKLaboklab(43.48% 0.1388 0.005)
OKLCHoklch(43.48% 0.139 2.1)
XYZxyz(12.4137, 7.2360, 7.3982)
Luminance0.0723 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A254B #258A64
analogous
#8A257E #8A254B #8A3225
triadic
#8A254B #4B8A25 #254B8A
tetradic
#8A254B #7E8A25 #258A64 #32258A
square
#8A254B #7E8A25 #258A64 #32258A
split-complementary
#8A254B #258A32 #257E8A
monochromatic
#290B17 #5A1831 #8A254B #BA3265 #D25786

Accessibility & contrast

On white

8.58
#8A254B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A254B
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A254B#FFFFFF#000000##FFFFFF
##8A254B1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B404C
Deuteranopia (green-blind)
#565349
Tritanopia (blue-blind)
#961535
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a254b;
/* rgb */ color: rgb(138, 37, 75);
/* oklch */ color: oklch(43.5% 0.139 2.1);
Tailwind
colors: {
  custom: {
    50: '#b1687d',
    500: '#8a254b',
    950: '#000000',
  },
}
SCSS
$custom: #8a254b;
$custom-light: #b1687d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a254b",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 75
  },
  "hsl": {
    "h": 337.426,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43482,
    "c": 0.13893,
    "h": 2.1
  },
  "luminance": 0.07234
}

Semantic roles & 50–950 ramp

primary
#8A254B
secondary
#54B792
accent
#E1A747
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110709
muted
#807A7B

Preview Lab

Preview with #8A254B

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

Preview Lab → · Contrast checker → · Palette generator →

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