#8E254F#8E254F

#8E254F is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.3% C 0.144 H 0.7°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#8E254F
RGBrgb(142, 37, 79)
HSLhsl(336, 59%, 35%)
HSVhsv(336, 74%, 56%)
CMYKcmyk(0%, 73.9%, 44.4%, 44.3%)
CIE-LABlab(33.22, 46.96, 0.50)
CIE-LCHlch(33.22, 46.96, 0.61°)
OKLaboklab(44.31% 0.144 0.0018)
OKLCHoklch(44.31% 0.144 0.7)
XYZxyz(13.2292, 7.6401, 8.1737)
Luminance0.0764 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E254F #258E64
analogous
#8E2583 #8E254F #8E3025
triadic
#8E254F #4F8E25 #254F8E
tetradic
#8E254F #838E25 #258E64 #30258E
square
#8E254F #838E25 #258E64 #30258E
split-complementary
#8E254F #258E30 #25838E
monochromatic
#2D0C19 #5D1834 #8E254F #BF326A #D45A8A

Accessibility & contrast

On white

8.31
#8E254F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8E254F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E254F
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E254F#FFFFFF#000000##FFFFFF
##8E254F1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4150
Deuteranopia (green-blind)
#58554D
Tritanopia (blue-blind)
#9A1537
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e254f;
/* rgb */ color: rgb(142, 37, 79);
/* oklch */ color: oklch(44.3% 0.144 0.7);
Tailwind
colors: {
  custom: {
    50: '#b46980',
    500: '#8e254f',
    950: '#000000',
  },
}
SCSS
$custom: #8e254f;
$custom-light: #b46980;
$custom-dark: #000000;
JSON
{
  "hex": "#8e254f",
  "rgb": {
    "r": 142,
    "g": 37,
    "b": 79
  },
  "hsl": {
    "h": 336,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44314,
    "c": 0.14398,
    "h": 0.7
  },
  "luminance": 0.07638
}

Semantic roles & 50–950 ramp

primary
#8E254F
secondary
#56B991
accent
#E2A346
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #8E254F

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

Preview Lab → · Contrast checker → · Palette generator →

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