#9F2E1F#9F2E1F

#9F2E1F is a mid, vivid red. Relative luminance 0.094; OKLCH L 47.3% C 0.151 H 30.8°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#9F2E1F
RGBrgb(159, 46, 31)
HSLhsl(7, 67%, 37%)
HSVhsv(7, 81%, 62%)
CMYKcmyk(0%, 71.1%, 80.5%, 37.6%)
CIE-LABlab(36.79, 45.76, 35.75)
CIE-LCHlch(36.79, 58.07, 38.00°)
OKLaboklab(47.26% 0.1301 0.0776)
OKLCHoklch(47.26% 0.151 30.8)
XYZxyz(15.5242, 9.4262, 2.2981)
Luminance0.0942 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2E1F #1F909F
analogous
#9F1F50 #9F2E1F #9F6E1F
triadic
#9F2E1F #1F9F2E #2E1F9F
tetradic
#9F2E1F #509F1F #1F909F #6E1F9F
square
#9F2E1F #509F1F #1F909F #6E1F9F
split-complementary
#9F2E1F #1F9F6E #1F509F
monochromatic
#39100B #6C1F15 #9F2E1F #D23D29 #DF695A

Accessibility & contrast

On white

7.28
#9F2E1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#9F2E1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2E1F
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2E1F#FFFFFF#000000##FFFFFF
##9F2E1F1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F471C
Deuteranopia (green-blind)
#6B601A
Tritanopia (blue-blind)
#AF012C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f2e1f;
/* rgb */ color: rgb(159, 46, 31);
/* oklch */ color: oklch(47.3% 0.151 30.8);
Tailwind
colors: {
  custom: {
    50: '#c46e5c',
    500: '#9f2e1f',
    950: '#000000',
  },
}
SCSS
$custom: #9f2e1f;
$custom-light: #c46e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2e1f",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 31
  },
  "hsl": {
    "h": 7.031,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47262,
    "c": 0.15148,
    "h": 30.8
  },
  "luminance": 0.09424
}

Semantic roles & 50–950 ramp

primary
#9F2E1F
secondary
#57B6C3
accent
#D6EA3E
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140804
muted
#837B79

Preview Lab

Preview with #9F2E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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