#9F2118#9F2118

#9F2118 is a mid, vivid red. Relative luminance 0.085; OKLCH L 45.9% C 0.163 H 29.2°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#9F2118
RGBrgb(159, 33, 24)
HSLhsl(4, 74%, 36%)
HSVhsv(4, 85%, 62%)
CMYKcmyk(0%, 79.2%, 84.9%, 37.6%)
CIE-LABlab(35.06, 50.18, 37.85)
CIE-LCHlch(35.06, 62.85, 37.03°)
OKLaboklab(45.95% 0.1425 0.0797)
OKLCHoklch(45.95% 0.163 29.2)
XYZxyz(15.0087, 8.5270, 1.7196)
Luminance0.0853 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2118 #18969F
analogous
#9F1852 #9F2118 #9F6418
triadic
#9F2118 #189F21 #21189F
tetradic
#9F2118 #529F18 #18969F #64189F
square
#9F2118 #529F18 #18969F #64189F
split-complementary
#9F2118 #189F64 #18529F
monochromatic
#350B08 #6A1610 #9F2118 #D42C20 #E4574D

Accessibility & contrast

On white

7.76
#9F2118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#9F2118 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2118
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2118#FFFFFF#000000##FFFFFF
##9F21181.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494115
Deuteranopia (green-blind)
#685C11
Tritanopia (blue-blind)
#B00021
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f2118;
/* rgb */ color: rgb(159, 33, 24);
/* oklch */ color: oklch(45.9% 0.163 29.2);
Tailwind
colors: {
  custom: {
    50: '#c56857',
    500: '#9f2118',
    950: '#000000',
  },
}
SCSS
$custom: #9f2118;
$custom-light: #c56857;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2118",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 24
  },
  "hsl": {
    "h": 4,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45947,
    "c": 0.16327,
    "h": 29.2
  },
  "luminance": 0.08525
}

Semantic roles & 50–950 ramp

primary
#9F2118
secondary
#4DBEC6
accent
#E4F037
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78

Preview Lab

Preview with #9F2118

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

Preview Lab → · Contrast checker → · Palette generator →

#9F2118 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva