#8F2457#8F2457

#8F2457 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.7% C 0.149 H 356.0°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#8F2457
RGBrgb(143, 36, 87)
HSLhsl(331, 60%, 35%)
HSVhsv(331, 75%, 56%)
CMYKcmyk(0%, 74.8%, 39.2%, 43.9%)
CIE-LABlab(33.54, 48.48, -4.20)
CIE-LCHlch(33.54, 48.66, 355.04°)
OKLaboklab(44.67% 0.1488 -0.0105)
OKLCHoklch(44.67% 0.149 356)
XYZxyz(13.6798, 7.7912, 9.7984)
Luminance0.0779 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2457 #248F5C
analogous
#8F248D #8F2457 #8F2624
triadic
#8F2457 #578F24 #24578F
tetradic
#8F2457 #8D8F24 #248F5C #26248F
square
#8F2457 #8D8F24 #248F5C #26248F
split-complementary
#8F2457 #248F26 #248D8F
monochromatic
#2D0B1C #5E1839 #8F2457 #C03075 #D55894

Accessibility & contrast

On white

8.21
#8F2457 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8F2457 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2457
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2457#FFFFFF#000000##FFFFFF
##8F24571.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394258
Deuteranopia (green-blind)
#575655
Tritanopia (blue-blind)
#9B183A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f2457;
/* rgb */ color: rgb(143, 36, 87);
/* oklch */ color: oklch(44.7% 0.149 356.0);
Tailwind
colors: {
  custom: {
    50: '#b46986',
    500: '#8f2457',
    950: '#000000',
  },
}
SCSS
$custom: #8f2457;
$custom-light: #b46986;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2457",
  "rgb": {
    "r": 143,
    "g": 36,
    "b": 87
  },
  "hsl": {
    "h": 331.402,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44673,
    "c": 0.14913,
    "h": 356
  },
  "luminance": 0.0779
}

Semantic roles & 50–950 ramp

primary
#8F2457
secondary
#55B98A
accent
#E39845
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #8F2457

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

Preview Lab → · Contrast checker → · Palette generator →

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