#8F254D#8F254D

#8F254D is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.4% C 0.144 H 2.3°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#8F254D
RGBrgb(143, 37, 77)
HSLhsl(337, 59%, 35%)
HSVhsv(337, 74%, 56%)
CMYKcmyk(0%, 74.1%, 46.2%, 43.9%)
CIE-LABlab(33.35, 47.06, 2.01)
CIE-LCHlch(33.35, 47.10, 2.45°)
OKLaboklab(44.43% 0.1442 0.0057)
OKLCHoklch(44.43% 0.144 2.3)
XYZxyz(13.3299, 7.7003, 7.8041)
Luminance0.0770 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F254D #258F67
analogous
#8F2582 #8F254D #8F3225
triadic
#8F254D #4D8F25 #254D8F
tetradic
#8F254D #828F25 #258F67 #32258F
square
#8F254D #828F25 #258F67 #32258F
split-complementary
#8F254D #258F32 #25828F
monochromatic
#2E0C19 #5E1833 #8F254D #C03267 #D45A88

Accessibility & contrast

On white

8.27
#8F254D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#8F254D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F254D
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F254D#FFFFFF#000000##FFFFFF
##8F254D1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D414E
Deuteranopia (green-blind)
#59564B
Tritanopia (blue-blind)
#9C1336
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8f254d;
/* rgb */ color: rgb(143, 37, 77);
/* oklch */ color: oklch(44.4% 0.144 2.3);
Tailwind
colors: {
  custom: {
    50: '#b5697e',
    500: '#8f254d',
    950: '#000000',
  },
}
SCSS
$custom: #8f254d;
$custom-light: #b5697e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f254d",
  "rgb": {
    "r": 143,
    "g": 37,
    "b": 77
  },
  "hsl": {
    "h": 337.358,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44425,
    "c": 0.14427,
    "h": 2.3
  },
  "luminance": 0.07699
}

Semantic roles & 50–950 ramp

primary
#8F254D
secondary
#57B994
accent
#E2A746
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #8F254D

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

Preview Lab → · Contrast checker → · Palette generator →

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