#9F2227#9F2227

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

Color values

HEX#9F2227
RGBrgb(159, 34, 39)
HSLhsl(358, 65%, 38%)
HSVhsv(358, 79%, 62%)
CMYKcmyk(0%, 78.6%, 75.5%, 37.6%)
CIE-LABlab(35.33, 50.38, 29.54)
CIE-LCHlch(35.33, 58.40, 30.39°)
OKLaboklab(46.2% 0.1463 0.0664)
OKLCHoklch(46.2% 0.161 24.4)
XYZxyz(15.2381, 8.6639, 2.7890)
Luminance0.0866 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2227 #229F9A
analogous
#9F2265 #9F2227 #9F5B22
triadic
#9F2227 #279F22 #22279F
tetradic
#9F2227 #659F22 #229F9A #5B229F
square
#9F2227 #659F22 #229F9A #5B229F
split-complementary
#9F2227 #229F5B #22659F
monochromatic
#3A0C0E #6D171B #9F2227 #D12D33 #DD5F64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F2227#FFFFFF#000000##FFFFFF
##9F22271.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)
#484226
Deuteranopia (green-blind)
#675D22
Tritanopia (blue-blind)
#AF0025
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f2227;
/* rgb */ color: rgb(159, 34, 39);
/* oklch */ color: oklch(46.2% 0.161 24.4);
Tailwind
colors: {
  custom: {
    50: '#c46961',
    500: '#9f2227',
    950: '#000000',
  },
}
SCSS
$custom: #9f2227;
$custom-light: #c46961;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2227",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 39
  },
  "hsl": {
    "h": 357.6,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.462,
    "c": 0.16067,
    "h": 24.4
  },
  "luminance": 0.08661
}

Semantic roles & 50–950 ramp

primary
#9F2227
secondary
#5BC1BD
accent
#E8E140
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140705
muted
#837A79

Preview Lab

Preview with #9F2227

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

Preview Lab → · Contrast checker → · Palette generator →

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