#8F123F#8F123F

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

Color values

HEX#8F123F
RGBrgb(143, 18, 63)
HSLhsl(338, 78%, 32%)
HSVhsv(338, 87%, 56%)
CMYKcmyk(0%, 87.4%, 55.9%, 43.9%)
CIE-LABlab(30.96, 51.48, 7.81)
CIE-LCHlch(30.96, 52.07, 8.63°)
OKLaboklab(42.53% 0.1571 0.02)
OKLCHoklch(42.53% 0.158 7.3)
XYZxyz(12.4424, 6.6330, 5.3268)
Luminance0.0663 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F123F #128F62
analogous
#8F127E #8F123F #8F2412
triadic
#8F123F #3F8F12 #123F8F
tetradic
#8F123F #7E8F12 #128F62 #24128F
square
#8F123F #7E8F12 #128F62 #24128F
split-complementary
#8F123F #128F24 #127E8F
monochromatic
#22040F #590B27 #8F123F #C51957 #E63675

Accessibility & contrast

On white

9.03
#8F123F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F123F
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F123F#FFFFFF#000000##FFFFFF
##8F123F1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373940
Deuteranopia (green-blind)
#57523C
Tritanopia (blue-blind)
#9D0027
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8f123f;
/* rgb */ color: rgb(143, 18, 63);
/* oklch */ color: oklch(42.5% 0.158 7.3);
Tailwind
colors: {
  custom: {
    50: '#b66173',
    500: '#8f123f',
    950: '#000000',
  },
}
SCSS
$custom: #8f123f;
$custom-light: #b66173;
$custom-dark: #000000;
JSON
{
  "hex": "#8f123f",
  "rgb": {
    "r": 143,
    "g": 18,
    "b": 63
  },
  "hsl": {
    "h": 338.4,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42534,
    "c": 0.15834,
    "h": 7.3
  },
  "luminance": 0.06631
}

Semantic roles & 50–950 ramp

primary
#8F123F
secondary
#3AC392
accent
#F4AF34
background
#FCF6F6
surface
#F8EBEC
border
#D1C6C7
text
#120608
muted
#817A7B

Preview Lab

Preview with #8F123F

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

Preview Lab → · Contrast checker → · Palette generator →

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