#8F1538#8F1538

#8F1538 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.5% C 0.155 H 11.6°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#8F1538
RGBrgb(143, 21, 56)
HSLhsl(343, 74%, 32%)
HSVhsv(343, 85%, 56%)
CMYKcmyk(0%, 85.3%, 60.8%, 43.9%)
CIE-LABlab(31.03, 50.27, 12.56)
CIE-LCHlch(31.03, 51.82, 14.03°)
OKLaboklab(42.53% 0.152 0.0311)
OKLCHoklch(42.53% 0.155 11.6)
XYZxyz(12.3110, 6.6634, 4.3785)
Luminance0.0666 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1538 #158F6C
analogous
#8F1575 #8F1538 #8F2F15
triadic
#8F1538 #388F15 #15388F
tetradic
#8F1538 #758F15 #158F6C #2F158F
square
#8F1538 #758F15 #158F6C #2F158F
split-complementary
#8F1538 #158F2F #15758F
monochromatic
#24050E #5A0D23 #8F1538 #C41D4D #E23C6C

Accessibility & contrast

On white

9.00
#8F1538 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#8F1538 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1538
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1538#FFFFFF#000000##FFFFFF
##8F15381.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3938
Deuteranopia (green-blind)
#585235
Tritanopia (blue-blind)
#9D0025
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8f1538;
/* rgb */ color: rgb(143, 21, 56);
/* oklch */ color: oklch(42.5% 0.155 11.6);
Tailwind
colors: {
  custom: {
    50: '#b7626e',
    500: '#8f1538',
    950: '#000000',
  },
}
SCSS
$custom: #8f1538;
$custom-light: #b7626e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1538",
  "rgb": {
    "r": 143,
    "g": 21,
    "b": 56
  },
  "hsl": {
    "h": 342.787,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42531,
    "c": 0.15514,
    "h": 11.6
  },
  "luminance": 0.06661
}

Semantic roles & 50–950 ramp

primary
#8F1538
secondary
#3EC29C
accent
#F1BC37
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130607
muted
#827A7A

Preview Lab

Preview with #8F1538

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

Preview Lab → · Contrast checker → · Palette generator →

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