#8F123C#8F123C

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

Color values

HEX#8F123C
RGBrgb(143, 18, 60)
HSLhsl(340, 78%, 32%)
HSVhsv(340, 87%, 56%)
CMYKcmyk(0%, 87.4%, 58%, 43.9%)
CIE-LABlab(30.88, 51.26, 9.70)
CIE-LCHlch(30.88, 52.17, 10.72°)
OKLaboklab(42.45% 0.1559 0.0245)
OKLCHoklch(42.45% 0.158 8.9)
XYZxyz(12.3609, 6.6004, 4.8972)
Luminance0.0660 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F123C #128F65
analogous
#8F127B #8F123C #8F2712
triadic
#8F123C #3C8F12 #123C8F
tetradic
#8F123C #7B8F12 #128F65 #27128F
square
#8F123C #7B8F12 #128F65 #27128F
split-complementary
#8F123C #128F27 #127B8F
monochromatic
#22040E #590B25 #8F123C #C51953 #E63671

Accessibility & contrast

On white

9.05
#8F123C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F123C
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F123C#FFFFFF#000000##FFFFFF
##8F123C1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38393D
Deuteranopia (green-blind)
#575139
Tritanopia (blue-blind)
#9D0026
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8f123c;
/* rgb */ color: rgb(143, 18, 60);
/* oklch */ color: oklch(42.5% 0.158 8.9);
Tailwind
colors: {
  custom: {
    50: '#b66171',
    500: '#8f123c',
    950: '#000000',
  },
}
SCSS
$custom: #8f123c;
$custom-light: #b66171;
$custom-dark: #000000;
JSON
{
  "hex": "#8f123c",
  "rgb": {
    "r": 143,
    "g": 18,
    "b": 60
  },
  "hsl": {
    "h": 339.84,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42453,
    "c": 0.15779,
    "h": 8.9
  },
  "luminance": 0.06598
}

Semantic roles & 50–950 ramp

primary
#8F123C
secondary
#3AC395
accent
#F4B334
background
#FCF6F6
surface
#F8EBEC
border
#D1C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8F123C

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

Preview Lab → · Contrast checker → · Palette generator →

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