#8F2222#8F2222

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

Color values

HEX#8F2222
RGBrgb(143, 34, 34)
HSLhsl(0, 62%, 35%)
HSVhsv(0, 76%, 56%)
CMYKcmyk(0%, 76.2%, 76.2%, 43.9%)
CIE-LABlab(32.04, 45.10, 28.00)
CIE-LCHlch(32.04, 53.08, 31.84°)
OKLaboklab(43.15% 0.1306 0.0629)
OKLCHoklch(43.15% 0.145 25.7)
XYZxyz(12.1899, 7.1011, 2.2419)
Luminance0.0710 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2222 #228F8F
analogous
#8F2259 #8F2222 #8F5922
triadic
#8F2222 #228F22 #22228F
tetradic
#8F2222 #598F22 #228F8F #59228F
square
#8F2222 #598F22 #228F8F #59228F
split-complementary
#8F2222 #228F59 #22598F
monochromatic
#2C0A0A #5E1616 #8F2222 #C02E2E #D75555

Accessibility & contrast

On white

8.68
#8F2222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#8F2222 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2222
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2222#FFFFFF#000000##FFFFFF
##8F22221.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433C21
Deuteranopia (green-blind)
#5E541E
Tritanopia (blue-blind)
#9E0023
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8f2222;
/* rgb */ color: rgb(143, 34, 34);
/* oklch */ color: oklch(43.2% 0.145 25.7);
Tailwind
colors: {
  custom: {
    50: '#b8665d',
    500: '#8f2222',
    950: '#000000',
  },
}
SCSS
$custom: #8f2222;
$custom-light: #b8665d;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2222",
  "rgb": {
    "r": 143,
    "g": 34,
    "b": 34
  },
  "hsl": {
    "h": 0,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43151,
    "c": 0.1449,
    "h": 25.7
  },
  "luminance": 0.07099
}

Semantic roles & 50–950 ramp

primary
#8F2222
secondary
#52BABA
accent
#E5E543
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130604
muted
#827A79

Preview Lab

Preview with #8F2222

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

Preview Lab → · Contrast checker → · Palette generator →

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