#8F1338#8F1338

#8F1338 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.157 H 11.3°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#8F1338
RGBrgb(143, 19, 56)
HSLhsl(342, 77%, 32%)
HSVhsv(342, 87%, 56%)
CMYKcmyk(0%, 86.7%, 60.8%, 43.9%)
CIE-LABlab(30.86, 50.75, 12.34)
CIE-LCHlch(30.86, 52.23, 13.66°)
OKLaboklab(42.41% 0.1535 0.0306)
OKLCHoklch(42.41% 0.157 11.3)
XYZxyz(12.2757, 6.5928, 4.3668)
Luminance0.0659 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1338 #138F6A
analogous
#8F1376 #8F1338 #8F2C13
triadic
#8F1338 #388F13 #13388F
tetradic
#8F1338 #768F13 #138F6A #2C138F
square
#8F1338 #768F13 #138F6A #2C138F
split-complementary
#8F1338 #138F2C #13768F
monochromatic
#23050E #590C23 #8F1338 #C51A4D #E5386B

Accessibility & contrast

On white

9.06
#8F1338 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#8F1338 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1338
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1338#FFFFFF#000000##FFFFFF
##8F13381.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393938
Deuteranopia (green-blind)
#585135
Tritanopia (blue-blind)
#9D0024
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8f1338;
/* rgb */ color: rgb(143, 19, 56);
/* oklch */ color: oklch(42.4% 0.157 11.3);
Tailwind
colors: {
  custom: {
    50: '#b7626e',
    500: '#8f1338',
    950: '#000000',
  },
}
SCSS
$custom: #8f1338;
$custom-light: #b7626e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1338",
  "rgb": {
    "r": 143,
    "g": 19,
    "b": 56
  },
  "hsl": {
    "h": 342.097,
    "s": 76.543,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42408,
    "c": 0.15655,
    "h": 11.3
  },
  "luminance": 0.06591
}

Semantic roles & 50–950 ramp

primary
#8F1338
secondary
#3BC39A
accent
#F3BA35
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130607
muted
#827A7A

Preview Lab

Preview with #8F1338

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

Preview Lab → · Contrast checker → · Palette generator →

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