#8B254A#8B254A

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

Color values

HEX#8B254A
RGBrgb(139, 37, 74)
HSLhsl(338, 58%, 35%)
HSVhsv(338, 73%, 55%)
CMYKcmyk(0%, 73.4%, 46.8%, 45.5%)
CIE-LABlab(32.50, 45.54, 2.64)
CIE-LCHlch(32.50, 45.61, 3.32°)
OKLaboklab(43.63% 0.1394 0.0073)
OKLCHoklch(43.63% 0.14 3)
XYZxyz(12.5460, 7.3081, 7.2272)
Luminance0.0731 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B254A #258B66
analogous
#8B257D #8B254A #8B3325
triadic
#8B254A #4A8B25 #254A8B
tetradic
#8B254A #7D8B25 #258B66 #33258B
square
#8B254A #7D8B25 #258B66 #33258B
split-complementary
#8B254A #258B33 #257D8B
monochromatic
#2A0B17 #5B1830 #8B254A #BB3264 #D35884

Accessibility & contrast

On white

8.53
#8B254A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#8B254A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B254A
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B254A#FFFFFF#000000##FFFFFF
##8B254A1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C404B
Deuteranopia (green-blind)
#575448
Tritanopia (blue-blind)
#971434
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8b254a;
/* rgb */ color: rgb(139, 37, 74);
/* oklch */ color: oklch(43.6% 0.140 3.0);
Tailwind
colors: {
  custom: {
    50: '#b2687c',
    500: '#8b254a',
    950: '#000000',
  },
}
SCSS
$custom: #8b254a;
$custom-light: #b2687c;
$custom-dark: #000000;
JSON
{
  "hex": "#8b254a",
  "rgb": {
    "r": 139,
    "g": 37,
    "b": 74
  },
  "hsl": {
    "h": 338.235,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43625,
    "c": 0.13958,
    "h": 3
  },
  "luminance": 0.07307
}

Semantic roles & 50–950 ramp

primary
#8B254A
secondary
#55B793
accent
#E1A947
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120709
muted
#817A7B

Preview Lab

Preview with #8B254A

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

Preview Lab → · Contrast checker → · Palette generator →

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