#9F2F22#9F2F22

#9F2F22 is a mid, vivid red. Relative luminance 0.095; OKLCH L 47.4% C 0.150 H 30.1°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#9F2F22
RGBrgb(159, 47, 34)
HSLhsl(6, 65%, 38%)
HSVhsv(6, 79%, 62%)
CMYKcmyk(0%, 70.4%, 78.6%, 37.6%)
CIE-LABlab(36.97, 45.47, 34.26)
CIE-LCHlch(36.97, 56.93, 37.00°)
OKLaboklab(47.41% 0.1298 0.0753)
OKLCHoklch(47.41% 0.15 30.1)
XYZxyz(15.6051, 9.5218, 2.5293)
Luminance0.0952 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2F22 #22929F
analogous
#9F2253 #9F2F22 #9F6D22
triadic
#9F2F22 #229F2F #2F229F
tetradic
#9F2F22 #539F22 #22929F #6D229F
square
#9F2F22 #539F22 #22929F #6D229F
split-complementary
#9F2F22 #229F6D #22539F
monochromatic
#3A110C #6D2017 #9F2F22 #D13E2D #DD6C5F

Accessibility & contrast

On white

7.23
#9F2F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9F2F22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2F22
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2F22#FFFFFF#000000##FFFFFF
##9F2F221.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504720
Deuteranopia (green-blind)
#6B601D
Tritanopia (blue-blind)
#AF052D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f2f22;
/* rgb */ color: rgb(159, 47, 34);
/* oklch */ color: oklch(47.4% 0.150 30.1);
Tailwind
colors: {
  custom: {
    50: '#c46f5e',
    500: '#9f2f22',
    950: '#000000',
  },
}
SCSS
$custom: #9f2f22;
$custom-light: #c46f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2f22",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 34
  },
  "hsl": {
    "h": 6.24,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47405,
    "c": 0.15004,
    "h": 30.1
  },
  "luminance": 0.09519
}

Semantic roles & 50–950 ramp

primary
#9F2F22
secondary
#5BB7C1
accent
#D6E840
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140804
muted
#837B79

Preview Lab

Preview with #9F2F22

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

Preview Lab → · Contrast checker → · Palette generator →

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