#8F2228#8F2228

#8F2228 is a dark, vivid red. Relative luminance 0.071; OKLCH L 43.2% C 0.144 H 22.9°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#8F2228
RGBrgb(143, 34, 40)
HSLhsl(357, 62%, 35%)
HSVhsv(357, 76%, 56%)
CMYKcmyk(0%, 76.2%, 72%, 43.9%)
CIE-LABlab(32.12, 45.38, 24.37)
CIE-LCHlch(32.12, 51.51, 28.24°)
OKLaboklab(43.24% 0.1328 0.0562)
OKLCHoklch(43.24% 0.144 22.9)
XYZxyz(12.2841, 7.1388, 2.7382)
Luminance0.0714 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2228 #228F89
analogous
#8F225F #8F2228 #8F5222
triadic
#8F2228 #288F22 #22288F
tetradic
#8F2228 #5F8F22 #228F89 #52228F
square
#8F2228 #5F8F22 #228F89 #52228F
split-complementary
#8F2228 #228F52 #225F8F
monochromatic
#2C0A0C #5E161A #8F2228 #C02E36 #D7555C

Accessibility & contrast

On white

8.65
#8F2228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#8F2228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2228
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2228#FFFFFF#000000##FFFFFF
##8F22281.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423D27
Deuteranopia (green-blind)
#5D5424
Tritanopia (blue-blind)
#9E0025
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8f2228;
/* rgb */ color: rgb(143, 34, 40);
/* oklch */ color: oklch(43.2% 0.144 22.9);
Tailwind
colors: {
  custom: {
    50: '#b76762',
    500: '#8f2228',
    950: '#000000',
  },
}
SCSS
$custom: #8f2228;
$custom-light: #b76762;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2228",
  "rgb": {
    "r": 143,
    "g": 34,
    "b": 40
  },
  "hsl": {
    "h": 356.697,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43241,
    "c": 0.14422,
    "h": 22.9
  },
  "luminance": 0.07137
}

Semantic roles & 50–950 ramp

primary
#8F2228
secondary
#52BAB5
accent
#E5DC43
background
#FCF6F5
surface
#F8EBEA
border
#D1C6C6
text
#130605
muted
#827A79

Preview Lab

Preview with #8F2228

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

Preview Lab → · Contrast checker → · Palette generator →

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