#8F1236#8F1236

#8F1236 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.3% C 0.157 H 12.2°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#8F1236
RGBrgb(143, 18, 54)
HSLhsl(343, 78%, 32%)
HSVhsv(343, 87%, 56%)
CMYKcmyk(0%, 87.4%, 62.2%, 43.9%)
CIE-LABlab(30.74, 50.84, 13.50)
CIE-LCHlch(30.74, 52.60, 14.87°)
OKLaboklab(42.3% 0.1534 0.0332)
OKLCHoklch(42.3% 0.157 12.2)
XYZxyz(12.2112, 6.5405, 4.1088)
Luminance0.0654 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1236 #128F6B
analogous
#8F1275 #8F1236 #8F2D12
triadic
#8F1236 #368F12 #12368F
tetradic
#8F1236 #758F12 #128F6B #2D128F
square
#8F1236 #758F12 #128F6B #2D128F
split-complementary
#8F1236 #128F2D #12758F
monochromatic
#22040D #590B21 #8F1236 #C5194B #E63668

Accessibility & contrast

On white

9.10
#8F1236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#8F1236 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1236
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1236#FFFFFF#000000##FFFFFF
##8F12361.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393836
Deuteranopia (green-blind)
#585133
Tritanopia (blue-blind)
#9D0023
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8f1236;
/* rgb */ color: rgb(143, 18, 54);
/* oklch */ color: oklch(42.3% 0.157 12.2);
Tailwind
colors: {
  custom: {
    50: '#b7616c',
    500: '#8f1236',
    950: '#000000',
  },
}
SCSS
$custom: #8f1236;
$custom-light: #b7616c;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1236",
  "rgb": {
    "r": 143,
    "g": 18,
    "b": 54
  },
  "hsl": {
    "h": 342.72,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42302,
    "c": 0.15699,
    "h": 12.2
  },
  "luminance": 0.06539
}

Semantic roles & 50–950 ramp

primary
#8F1236
secondary
#3AC39C
accent
#F4BD34
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130607
muted
#827A7A

Preview Lab

Preview with #8F1236

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

Preview Lab → · Contrast checker → · Palette generator →

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