#8F1540#8F1540

#8F1540 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.7% C 0.156 H 7.1°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#8F1540
RGBrgb(143, 21, 64)
HSLhsl(339, 74%, 32%)
HSVhsv(339, 85%, 56%)
CMYKcmyk(0%, 85.3%, 55.2%, 43.9%)
CIE-LABlab(31.23, 50.86, 7.53)
CIE-LCHlch(31.23, 51.41, 8.42°)
OKLaboklab(42.74% 0.1552 0.0193)
OKLCHoklch(42.74% 0.156 7.1)
XYZxyz(12.5225, 6.7480, 5.4926)
Luminance0.0675 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1540 #158F64
analogous
#8F157D #8F1540 #8F2715
triadic
#8F1540 #408F15 #15408F
tetradic
#8F1540 #7D8F15 #158F64 #27158F
square
#8F1540 #7D8F15 #158F64 #27158F
split-complementary
#8F1540 #158F27 #157D8F
monochromatic
#240510 #5A0D28 #8F1540 #C41D58 #E23C77

Accessibility & contrast

On white

8.94
#8F1540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#8F1540 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1540
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1540#FFFFFF#000000##FFFFFF
##8F15401.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383A41
Deuteranopia (green-blind)
#57523D
Tritanopia (blue-blind)
#9D0029
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8f1540;
/* rgb */ color: rgb(143, 21, 64);
/* oklch */ color: oklch(42.7% 0.156 7.1);
Tailwind
colors: {
  custom: {
    50: '#b66274',
    500: '#8f1540',
    950: '#000000',
  },
}
SCSS
$custom: #8f1540;
$custom-light: #b66274;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1540",
  "rgb": {
    "r": 143,
    "g": 21,
    "b": 64
  },
  "hsl": {
    "h": 338.852,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42741,
    "c": 0.1564,
    "h": 7.1
  },
  "luminance": 0.06746
}

Semantic roles & 50–950 ramp

primary
#8F1540
secondary
#3EC293
accent
#F1AF37
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8F1540

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

Preview Lab → · Contrast checker → · Palette generator →

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