#8E254D#8E254D

#8E254D is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.2% C 0.143 H 2.0°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#8E254D
RGBrgb(142, 37, 77)
HSLhsl(337, 59%, 35%)
HSVhsv(337, 74%, 56%)
CMYKcmyk(0%, 73.9%, 45.8%, 44.3%)
CIE-LABlab(33.16, 46.75, 1.71)
CIE-LCHlch(33.16, 46.79, 2.09°)
OKLaboklab(44.25% 0.1432 0.0049)
OKLCHoklch(44.25% 0.143 2)
XYZxyz(13.1575, 7.6114, 7.7960)
Luminance0.0761 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E254D #258E66
analogous
#8E2581 #8E254D #8E3225
triadic
#8E254D #4D8E25 #254D8E
tetradic
#8E254D #818E25 #258E66 #32258E
square
#8E254D #818E25 #258E66 #32258E
split-complementary
#8E254D #258E32 #25818E
monochromatic
#2D0C18 #5D1833 #8E254D #BF3267 #D45A88

Accessibility & contrast

On white

8.33
#8E254D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#8E254D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E254D
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E254D#FFFFFF#000000##FFFFFF
##8E254D1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C414E
Deuteranopia (green-blind)
#58554B
Tritanopia (blue-blind)
#9A1436
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e254d;
/* rgb */ color: rgb(142, 37, 77);
/* oklch */ color: oklch(44.2% 0.143 2.0);
Tailwind
colors: {
  custom: {
    50: '#b4697e',
    500: '#8e254d',
    950: '#000000',
  },
}
SCSS
$custom: #8e254d;
$custom-light: #b4697e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e254d",
  "rgb": {
    "r": 142,
    "g": 37,
    "b": 77
  },
  "hsl": {
    "h": 337.143,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44249,
    "c": 0.14333,
    "h": 2
  },
  "luminance": 0.0761
}

Semantic roles & 50–950 ramp

primary
#8E254D
secondary
#56B993
accent
#E2A646
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #8E254D

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

Preview Lab → · Contrast checker → · Palette generator →

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