#8F183F#8F183F

#8F183F is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.9% C 0.154 H 8.1°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#8F183F
RGBrgb(143, 24, 63)
HSLhsl(340, 71%, 33%)
HSVhsv(340, 83%, 56%)
CMYKcmyk(0%, 83.2%, 55.9%, 43.9%)
CIE-LABlab(31.47, 50.01, 8.53)
CIE-LCHlch(31.47, 50.73, 9.68°)
OKLaboklab(42.91% 0.1523 0.0217)
OKLCHoklch(42.91% 0.154 8.1)
XYZxyz(12.5527, 6.8536, 5.3636)
Luminance0.0685 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F183F #188F68
analogous
#8F187A #8F183F #8F2C18
triadic
#8F183F #3F8F18 #183F8F
tetradic
#8F183F #7A8F18 #188F68 #2C188F
square
#8F183F #7A8F18 #188F68 #2C188F
split-complementary
#8F183F #188F2C #187A8F
monochromatic
#260611 #5B0F28 #8F183F #C32156 #DF4276

Accessibility & contrast

On white

8.86
#8F183F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#8F183F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F183F
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F183F#FFFFFF#000000##FFFFFF
##8F183F1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393B40
Deuteranopia (green-blind)
#58523C
Tritanopia (blue-blind)
#9D002A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8f183f;
/* rgb */ color: rgb(143, 24, 63);
/* oklch */ color: oklch(42.9% 0.154 8.1);
Tailwind
colors: {
  custom: {
    50: '#b66373',
    500: '#8f183f',
    950: '#000000',
  },
}
SCSS
$custom: #8f183f;
$custom-light: #b66373;
$custom-dark: #000000;
JSON
{
  "hex": "#8f183f",
  "rgb": {
    "r": 143,
    "g": 24,
    "b": 63
  },
  "hsl": {
    "h": 340.336,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42912,
    "c": 0.15384,
    "h": 8.1
  },
  "luminance": 0.06852
}

Semantic roles & 50–950 ramp

primary
#8F183F
secondary
#43C097
accent
#EEB33A
background
#FBF6F6
surface
#F7EBEC
border
#D0C6C7
text
#120608
muted
#817A7B

Preview Lab

Preview with #8F183F

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

Preview Lab → · Contrast checker → · Palette generator →

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