#8D254C#8D254C

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

Color values

HEX#8D254C
RGBrgb(141, 37, 76)
HSLhsl(338, 58%, 35%)
HSVhsv(338, 74%, 55%)
CMYKcmyk(0%, 73.8%, 46.1%, 44.7%)
CIE-LABlab(32.94, 46.35, 2.02)
CIE-LCHlch(32.94, 46.39, 2.49°)
OKLaboklab(44.04% 0.142 0.0057)
OKLCHoklch(44.04% 0.142 2.3)
XYZxyz(12.9516, 7.5093, 7.6035)
Luminance0.0751 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D254C #258D66
analogous
#8D2580 #8D254C #8D3225
triadic
#8D254C #4C8D25 #254C8D
tetradic
#8D254C #808D25 #258D66 #32258D
square
#8D254C #808D25 #258D66 #32258D
split-complementary
#8D254C #258D32 #25808D
monochromatic
#2C0C18 #5D1832 #8D254C #BD3266 #D35987

Accessibility & contrast

On white

8.39
#8D254C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D254C
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D254C#FFFFFF#000000##FFFFFF
##8D254C1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C414D
Deuteranopia (green-blind)
#58554A
Tritanopia (blue-blind)
#991435
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8d254c;
/* rgb */ color: rgb(141, 37, 76);
/* oklch */ color: oklch(44.0% 0.142 2.3);
Tailwind
colors: {
  custom: {
    50: '#b3697d',
    500: '#8d254c',
    950: '#000000',
  },
}
SCSS
$custom: #8d254c;
$custom-light: #b3697d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d254c",
  "rgb": {
    "r": 141,
    "g": 37,
    "b": 76
  },
  "hsl": {
    "h": 337.5,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44041,
    "c": 0.14208,
    "h": 2.3
  },
  "luminance": 0.07508
}

Semantic roles & 50–950 ramp

primary
#8D254C
secondary
#56B893
accent
#E2A746
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120709
muted
#817A7B

Preview Lab

Preview with #8D254C

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

Preview Lab → · Contrast checker → · Palette generator →

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