#9D2F2F#9D2F2F

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

Color values

HEX#9D2F2F
RGBrgb(157, 47, 47)
HSLhsl(0, 54%, 40%)
HSVhsv(0, 70%, 62%)
CMYKcmyk(0%, 70.1%, 70.1%, 38.4%)
CIE-LABlab(36.76, 45.38, 26.23)
CIE-LCHlch(36.76, 52.42, 30.03°)
OKLaboklab(47.23% 0.1325 0.0608)
OKLCHoklch(47.23% 0.146 24.7)
XYZxyz(15.4359, 9.4086, 3.6920)
Luminance0.0941 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2F2F #2F9D9D
analogous
#9D2F66 #9D2F2F #9D662F
triadic
#9D2F2F #2F9D2F #2F2F9D
tetradic
#9D2F2F #669D2F #2F9D9D #662F9D
square
#9D2F2F #669D2F #2F9D9D #662F9D
split-complementary
#9D2F2F #2F9D66 #2F669D
monochromatic
#3F1313 #6E2121 #9D2F2F #C74343 #D57272

Accessibility & contrast

On white

7.29
#9D2F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D2F2F
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2F2F#FFFFFF#000000##FFFFFF
##9D2F2F1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E472E
Deuteranopia (green-blind)
#695F2C
Tritanopia (blue-blind)
#AD0E30
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9d2f2f;
/* rgb */ color: rgb(157, 47, 47);
/* oklch */ color: oklch(47.2% 0.146 24.7);
Tailwind
colors: {
  custom: {
    50: '#c16f67',
    500: '#9d2f2f',
    950: '#000000',
  },
}
SCSS
$custom: #9d2f2f;
$custom-light: #c16f67;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2f2f",
  "rgb": {
    "r": 157,
    "g": 47,
    "b": 47
  },
  "hsl": {
    "h": 0,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.47231,
    "c": 0.14583,
    "h": 24.7
  },
  "luminance": 0.09406
}

Semantic roles & 50–950 ramp

primary
#9D2F2F
secondary
#6BBCBC
accent
#DDDD4B
background
#FCF6F6
surface
#F9ECEB
border
#D2C7C6
text
#140806
muted
#827B7A

Preview Lab

Preview with #9D2F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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