#8F1938#8F1938

#8F1938 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.8% C 0.152 H 12.3°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#8F1938
RGBrgb(143, 25, 56)
HSLhsl(344, 70%, 33%)
HSVhsv(344, 83%, 56%)
CMYKcmyk(0%, 82.5%, 60.8%, 43.9%)
CIE-LABlab(31.40, 49.22, 13.06)
CIE-LCHlch(31.40, 50.92, 14.87°)
OKLaboklab(42.8% 0.1486 0.0323)
OKLCHoklch(42.8% 0.152 12.3)
XYZxyz(12.3904, 6.8223, 4.4050)
Luminance0.0682 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1938 #198F70
analogous
#8F1973 #8F1938 #8F3519
triadic
#8F1938 #388F19 #19388F
tetradic
#8F1938 #738F19 #198F70 #35198F
square
#8F1938 #738F19 #198F70 #35198F
split-complementary
#8F1938 #198F35 #19738F
monochromatic
#27070F #5B1024 #8F1938 #C3224C #DE446D

Accessibility & contrast

On white

8.88
#8F1938 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#8F1938 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1938
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1938#FFFFFF#000000##FFFFFF
##8F19381.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3A38
Deuteranopia (green-blind)
#595235
Tritanopia (blue-blind)
#9D0027
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8f1938;
/* rgb */ color: rgb(143, 25, 56);
/* oklch */ color: oklch(42.8% 0.152 12.3);
Tailwind
colors: {
  custom: {
    50: '#b6636e',
    500: '#8f1938',
    950: '#000000',
  },
}
SCSS
$custom: #8f1938;
$custom-light: #b6636e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1938",
  "rgb": {
    "r": 143,
    "g": 25,
    "b": 56
  },
  "hsl": {
    "h": 344.237,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42804,
    "c": 0.15204,
    "h": 12.3
  },
  "luminance": 0.0682
}

Semantic roles & 50–950 ramp

primary
#8F1938
secondary
#44BF9F
accent
#EDBE3B
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8F1938

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

Preview Lab → · Contrast checker → · Palette generator →

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