#8F123B#8F123B

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

Color values

HEX#8F123B
RGBrgb(143, 18, 59)
HSLhsl(340, 78%, 32%)
HSVhsv(340, 87%, 56%)
CMYKcmyk(0%, 87.4%, 58.7%, 43.9%)
CIE-LABlab(30.85, 51.18, 10.33)
CIE-LCHlch(30.85, 52.22, 11.41°)
OKLaboklab(42.43% 0.1555 0.026)
OKLCHoklch(42.43% 0.158 9.5)
XYZxyz(12.3347, 6.5899, 4.7593)
Luminance0.0659 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F123B #128F66
analogous
#8F127A #8F123B #8F2812
triadic
#8F123B #3B8F12 #123B8F
tetradic
#8F123B #7A8F12 #128F66 #28128F
square
#8F123B #7A8F12 #128F66 #28128F
split-complementary
#8F123B #128F28 #127A8F
monochromatic
#22040E #590B25 #8F123B #C51951 #E6366F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F123B#FFFFFF#000000##FFFFFF
##8F123B1.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)
#38393C
Deuteranopia (green-blind)
#575138
Tritanopia (blue-blind)
#9D0025
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8f123b;
/* rgb */ color: rgb(143, 18, 59);
/* oklch */ color: oklch(42.4% 0.158 9.5);
Tailwind
colors: {
  custom: {
    50: '#b66170',
    500: '#8f123b',
    950: '#000000',
  },
}
SCSS
$custom: #8f123b;
$custom-light: #b66170;
$custom-dark: #000000;
JSON
{
  "hex": "#8f123b",
  "rgb": {
    "r": 143,
    "g": 18,
    "b": 59
  },
  "hsl": {
    "h": 340.32,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42426,
    "c": 0.15762,
    "h": 9.5
  },
  "luminance": 0.06588
}

Semantic roles & 50–950 ramp

primary
#8F123B
secondary
#3AC396
accent
#F4B534
background
#FCF6F6
surface
#F8EBEC
border
#D1C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8F123B

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

Preview Lab → · Contrast checker → · Palette generator →

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