#9D2F2B#9D2F2B

#9D2F2B is a mid, vivid red. Relative luminance 0.094; OKLCH L 47.2% C 0.146 H 26.5°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#9D2F2B
RGBrgb(157, 47, 43)
HSLhsl(2, 57%, 39%)
HSVhsv(2, 73%, 62%)
CMYKcmyk(0%, 70.1%, 72.6%, 38.4%)
CIE-LABlab(36.70, 45.18, 28.59)
CIE-LCHlch(36.70, 53.47, 32.33°)
OKLaboklab(47.17% 0.131 0.0653)
OKLCHoklch(47.17% 0.146 26.5)
XYZxyz(15.3589, 9.3778, 3.2864)
Luminance0.0938 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2F2B #2B999D
analogous
#9D2B60 #9D2F2B #9D682B
triadic
#9D2F2B #2B9D2F #2F2B9D
tetradic
#9D2F2B #609D2B #2B999D #682B9D
square
#9D2F2B #609D2B #2B999D #682B9D
split-complementary
#9D2F2B #2B9D68 #2B609D
monochromatic
#3D1211 #6D211E #9D2F2B #CA413C #D76F6C

Accessibility & contrast

On white

7.30
#9D2F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D2F2B
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2F2B#FFFFFF#000000##FFFFFF
##9D2F2B1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E472A
Deuteranopia (green-blind)
#6A5F27
Tritanopia (blue-blind)
#AD0C2F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9d2f2b;
/* rgb */ color: rgb(157, 47, 43);
/* oklch */ color: oklch(47.2% 0.146 26.5);
Tailwind
colors: {
  custom: {
    50: '#c16f64',
    500: '#9d2f2b',
    950: '#000000',
  },
}
SCSS
$custom: #9d2f2b;
$custom-light: #c16f64;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2f2b",
  "rgb": {
    "r": 157,
    "g": 47,
    "b": 43
  },
  "hsl": {
    "h": 2.105,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4717,
    "c": 0.14639,
    "h": 26.5
  },
  "luminance": 0.09376
}

Semantic roles & 50–950 ramp

primary
#9D2F2B
secondary
#66BABD
accent
#DBE048
background
#FCF6F6
surface
#F9ECEB
border
#D2C7C6
text
#140805
muted
#827B7A

Preview Lab

Preview with #9D2F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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