#9F2226#9F2226

#9F2226 is a mid, vivid red. Relative luminance 0.087; OKLCH L 46.2% C 0.161 H 24.8°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#9F2226
RGBrgb(159, 34, 38)
HSLhsl(358, 65%, 38%)
HSVhsv(358, 79%, 62%)
CMYKcmyk(0%, 78.6%, 76.1%, 37.6%)
CIE-LABlab(35.32, 50.34, 30.13)
CIE-LCHlch(35.32, 58.67, 30.91°)
OKLaboklab(46.19% 0.146 0.0674)
OKLCHoklch(46.19% 0.161 24.8)
XYZxyz(15.2218, 8.6573, 2.7029)
Luminance0.0866 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2226 #229F9B
analogous
#9F2264 #9F2226 #9F5C22
triadic
#9F2226 #269F22 #22269F
tetradic
#9F2226 #649F22 #229F9B #5C229F
square
#9F2226 #649F22 #229F9B #5C229F
split-complementary
#9F2226 #229F5C #22649F
monochromatic
#3A0C0E #6D171A #9F2226 #D12D32 #DD5F63

Accessibility & contrast

On white

7.69
#9F2226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#9F2226 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2226
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2226#FFFFFF#000000##FFFFFF
##9F22261.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484225
Deuteranopia (green-blind)
#675D21
Tritanopia (blue-blind)
#AF0025
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f2226;
/* rgb */ color: rgb(159, 34, 38);
/* oklch */ color: oklch(46.2% 0.161 24.8);
Tailwind
colors: {
  custom: {
    50: '#c46960',
    500: '#9f2226',
    950: '#000000',
  },
}
SCSS
$custom: #9f2226;
$custom-light: #c46960;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2226",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 38
  },
  "hsl": {
    "h": 358.08,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46186,
    "c": 0.16078,
    "h": 24.8
  },
  "luminance": 0.08655
}

Semantic roles & 50–950 ramp

primary
#9F2226
secondary
#5BC1BE
accent
#E8E240
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140705
muted
#837A79

Preview Lab

Preview with #9F2226

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

Preview Lab → · Contrast checker → · Palette generator →

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