#8D254B#8D254B

#8D254B is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.0% C 0.142 H 2.9°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#8D254B
RGBrgb(141, 37, 75)
HSLhsl(338, 58%, 35%)
HSVhsv(338, 74%, 55%)
CMYKcmyk(0%, 73.8%, 46.8%, 44.7%)
CIE-LABlab(32.91, 46.25, 2.63)
CIE-LCHlch(32.91, 46.33, 3.25°)
OKLaboklab(44.01% 0.1416 0.0073)
OKLCHoklch(44.01% 0.142 2.9)
XYZxyz(12.9171, 7.4955, 7.4218)
Luminance0.0749 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D254B #258D67
analogous
#8D257F #8D254B #8D3325
triadic
#8D254B #4B8D25 #254B8D
tetradic
#8D254B #7F8D25 #258D67 #33258D
square
#8D254B #7F8D25 #258D67 #33258D
split-complementary
#8D254B #258D33 #257F8D
monochromatic
#2C0C17 #5D1831 #8D254B #BD3265 #D35986

Accessibility & contrast

On white

8.40
#8D254B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#8D254B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D254B
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D254B#FFFFFF#000000##FFFFFF
##8D254B1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C404C
Deuteranopia (green-blind)
#585549
Tritanopia (blue-blind)
#991335
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8d254b;
/* rgb */ color: rgb(141, 37, 75);
/* oklch */ color: oklch(44.0% 0.142 2.9);
Tailwind
colors: {
  custom: {
    50: '#b3687d',
    500: '#8d254b',
    950: '#000000',
  },
}
SCSS
$custom: #8d254b;
$custom-light: #b3687d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d254b",
  "rgb": {
    "r": 141,
    "g": 37,
    "b": 75
  },
  "hsl": {
    "h": 338.077,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44009,
    "c": 0.14179,
    "h": 2.9
  },
  "luminance": 0.07494
}

Semantic roles & 50–950 ramp

primary
#8D254B
secondary
#56B894
accent
#E2A946
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120709
muted
#817A7B

Preview Lab

Preview with #8D254B

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

Preview Lab → · Contrast checker → · Palette generator →

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