#8F2227#8F2227

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

Color values

HEX#8F2227
RGBrgb(143, 34, 39)
HSLhsl(357, 62%, 35%)
HSVhsv(357, 76%, 56%)
CMYKcmyk(0%, 76.2%, 72.7%, 43.9%)
CIE-LABlab(32.11, 45.33, 24.98)
CIE-LCHlch(32.11, 51.76, 28.86°)
OKLaboklab(43.23% 0.1324 0.0574)
OKLCHoklch(43.23% 0.144 23.4)
XYZxyz(12.2673, 7.1321, 2.6498)
Luminance0.0713 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2227 #228F8A
analogous
#8F225D #8F2227 #8F5422
triadic
#8F2227 #278F22 #22278F
tetradic
#8F2227 #5D8F22 #228F8A #54228F
square
#8F2227 #5D8F22 #228F8A #54228F
split-complementary
#8F2227 #228F54 #225D8F
monochromatic
#2C0A0C #5E161A #8F2227 #C02E34 #D7555B

Accessibility & contrast

On white

8.66
#8F2227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F2227
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2227#FFFFFF#000000##FFFFFF
##8F22271.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423D26
Deuteranopia (green-blind)
#5D5423
Tritanopia (blue-blind)
#9E0025
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8f2227;
/* rgb */ color: rgb(143, 34, 39);
/* oklch */ color: oklch(43.2% 0.144 23.4);
Tailwind
colors: {
  custom: {
    50: '#b76661',
    500: '#8f2227',
    950: '#000000',
  },
}
SCSS
$custom: #8f2227;
$custom-light: #b76661;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2227",
  "rgb": {
    "r": 143,
    "g": 34,
    "b": 39
  },
  "hsl": {
    "h": 357.248,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43225,
    "c": 0.14431,
    "h": 23.4
  },
  "luminance": 0.0713
}

Semantic roles & 50–950 ramp

primary
#8F2227
secondary
#52BAB6
accent
#E5DD43
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130605
muted
#827A79

Preview Lab

Preview with #8F2227

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

Preview Lab → · Contrast checker → · Palette generator →

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