#9F2223#9F2223

#9F2223 is a mid, vivid red. Relative luminance 0.086; OKLCH L 46.1% C 0.161 H 25.9°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#9F2223
RGBrgb(159, 34, 35)
HSLhsl(360, 65%, 38%)
HSVhsv(360, 79%, 62%)
CMYKcmyk(0%, 78.6%, 78%, 37.6%)
CIE-LABlab(35.28, 50.22, 31.89)
CIE-LCHlch(35.28, 59.49, 32.41°)
OKLaboklab(46.15% 0.1449 0.0704)
OKLCHoklch(46.15% 0.161 25.9)
XYZxyz(15.1753, 8.6387, 2.4582)
Luminance0.0864 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2223 #229F9E
analogous
#9F2261 #9F2223 #9F5F22
triadic
#9F2223 #239F22 #22239F
tetradic
#9F2223 #619F22 #229F9E #5F229F
square
#9F2223 #619F22 #229F9E #5F229F
split-complementary
#9F2223 #229F5F #22619F
monochromatic
#3A0C0D #6D1718 #9F2223 #D12D2E #DD5F60

Accessibility & contrast

On white

7.70
#9F2223 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F2223
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2223#FFFFFF#000000##FFFFFF
##9F22231.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494221
Deuteranopia (green-blind)
#685D1E
Tritanopia (blue-blind)
#AF0024
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f2223;
/* rgb */ color: rgb(159, 34, 35);
/* oklch */ color: oklch(46.1% 0.161 25.9);
Tailwind
colors: {
  custom: {
    50: '#c4695e',
    500: '#9f2223',
    950: '#000000',
  },
}
SCSS
$custom: #9f2223;
$custom-light: #c4695e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2223",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 35
  },
  "hsl": {
    "h": 359.52,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46147,
    "c": 0.16113,
    "h": 25.9
  },
  "luminance": 0.08636
}

Semantic roles & 50–950 ramp

primary
#9F2223
secondary
#5BC1C1
accent
#E8E640
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9F2223

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

Preview Lab → · Contrast checker → · Palette generator →

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