#8F123A#8F123A

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

Color values

HEX#8F123A
RGBrgb(143, 18, 58)
HSLhsl(341, 78%, 32%)
HSVhsv(341, 87%, 56%)
CMYKcmyk(0%, 87.4%, 59.4%, 43.9%)
CIE-LABlab(30.83, 51.11, 10.96)
CIE-LCHlch(30.83, 52.28, 12.11°)
OKLaboklab(42.4% 0.1551 0.0274)
OKLCHoklch(42.4% 0.157 10)
XYZxyz(12.3090, 6.5796, 4.6240)
Luminance0.0658 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F123A #128F67
analogous
#8F1279 #8F123A #8F2912
triadic
#8F123A #3A8F12 #123A8F
tetradic
#8F123A #798F12 #128F67 #29128F
square
#8F123A #798F12 #128F67 #29128F
split-complementary
#8F123A #128F29 #12798F
monochromatic
#22040E #590B24 #8F123A #C51950 #E6366E

Accessibility & contrast

On white

9.07
#8F123A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F123A
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F123A#FFFFFF#000000##FFFFFF
##8F123A1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38393B
Deuteranopia (green-blind)
#585137
Tritanopia (blue-blind)
#9D0025
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8f123a;
/* rgb */ color: rgb(143, 18, 58);
/* oklch */ color: oklch(42.4% 0.157 10.0);
Tailwind
colors: {
  custom: {
    50: '#b7616f',
    500: '#8f123a',
    950: '#000000',
  },
}
SCSS
$custom: #8f123a;
$custom-light: #b7616f;
$custom-dark: #000000;
JSON
{
  "hex": "#8f123a",
  "rgb": {
    "r": 143,
    "g": 18,
    "b": 58
  },
  "hsl": {
    "h": 340.8,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42401,
    "c": 0.15748,
    "h": 10
  },
  "luminance": 0.06578
}

Semantic roles & 50–950 ramp

primary
#8F123A
secondary
#3AC397
accent
#F4B734
background
#FCF6F6
surface
#F8EBEC
border
#D1C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8F123A

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

Preview Lab → · Contrast checker → · Palette generator →

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