#9D2F1F#9D2F1F

#9D2F1F is a mid, vivid red. Relative luminance 0.093; OKLCH L 47.0% C 0.148 H 31.3°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#9D2F1F
RGBrgb(157, 47, 31)
HSLhsl(8, 67%, 37%)
HSVhsv(8, 80%, 62%)
CMYKcmyk(0%, 70.1%, 80.3%, 38.4%)
CIE-LABlab(36.56, 44.67, 35.39)
CIE-LCHlch(36.56, 56.99, 38.39°)
OKLaboklab(47.02% 0.1269 0.077)
OKLCHoklch(47.02% 0.148 31.3)
XYZxyz(15.1702, 9.3023, 2.2928)
Luminance0.0930 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2F1F #1F8D9D
analogous
#9D1F4E #9D2F1F #9D6E1F
triadic
#9D2F1F #1F9D2F #2F1F9D
tetradic
#9D2F1F #4E9D1F #1F8D9D #6E1F9D
square
#9D2F1F #4E9D1F #1F8D9D #6E1F9D
split-complementary
#9D2F1F #1F9D6E #1F4E9D
monochromatic
#37100B #6A2015 #9D2F1F #D03E29 #DE6958

Accessibility & contrast

On white

7.34
#9D2F1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#9D2F1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2F1F
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2F1F#FFFFFF#000000##FFFFFF
##9D2F1F1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F471C
Deuteranopia (green-blind)
#6A5F1A
Tritanopia (blue-blind)
#AD072C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9d2f1f;
/* rgb */ color: rgb(157, 47, 31);
/* oklch */ color: oklch(47.0% 0.148 31.3);
Tailwind
colors: {
  custom: {
    50: '#c26e5c',
    500: '#9d2f1f',
    950: '#000000',
  },
}
SCSS
$custom: #9d2f1f;
$custom-light: #c26e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2f1f",
  "rgb": {
    "r": 157,
    "g": 47,
    "b": 31
  },
  "hsl": {
    "h": 7.619,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47018,
    "c": 0.14843,
    "h": 31.3
  },
  "luminance": 0.093
}

Semantic roles & 50–950 ramp

primary
#9D2F1F
secondary
#56B4C2
accent
#D4EA3E
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140804
muted
#837B79

Preview Lab

Preview with #9D2F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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