#8F1238#8F1238

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

Color values

HEX#8F1238
RGBrgb(143, 18, 56)
HSLhsl(342, 78%, 32%)
HSVhsv(342, 87%, 56%)
CMYKcmyk(0%, 87.4%, 60.8%, 43.9%)
CIE-LABlab(30.78, 50.98, 12.23)
CIE-LCHlch(30.78, 52.42, 13.49°)
OKLaboklab(42.35% 0.1543 0.0303)
OKLCHoklch(42.35% 0.157 11.1)
XYZxyz(12.2591, 6.5597, 4.3613)
Luminance0.0656 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1238 #128F69
analogous
#8F1277 #8F1238 #8F2B12
triadic
#8F1238 #388F12 #12388F
tetradic
#8F1238 #778F12 #128F69 #2B128F
square
#8F1238 #778F12 #128F69 #2B128F
split-complementary
#8F1238 #128F2B #12778F
monochromatic
#22040D #590B23 #8F1238 #C5194D #E6366B

Accessibility & contrast

On white

9.08
#8F1238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F1238
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1238#FFFFFF#000000##FFFFFF
##8F12381.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383839
Deuteranopia (green-blind)
#585135
Tritanopia (blue-blind)
#9D0024
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8f1238;
/* rgb */ color: rgb(143, 18, 56);
/* oklch */ color: oklch(42.4% 0.157 11.1);
Tailwind
colors: {
  custom: {
    50: '#b7616e',
    500: '#8f1238',
    950: '#000000',
  },
}
SCSS
$custom: #8f1238;
$custom-light: #b7616e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1238",
  "rgb": {
    "r": 143,
    "g": 18,
    "b": 56
  },
  "hsl": {
    "h": 341.76,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4235,
    "c": 0.15721,
    "h": 11.1
  },
  "luminance": 0.06558
}

Semantic roles & 50–950 ramp

primary
#8F1238
secondary
#3AC399
accent
#F4BA34
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130607
muted
#827A7A

Preview Lab

Preview with #8F1238

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

Preview Lab → · Contrast checker → · Palette generator →

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