#9F2F2F#9F2F2F

#9F2F2F is a mid, vivid red. Relative luminance 0.096; OKLCH L 47.6% C 0.148 H 24.7°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#9F2F2F
RGBrgb(159, 47, 47)
HSLhsl(0, 54%, 40%)
HSVhsv(0, 70%, 62%)
CMYKcmyk(0%, 70.4%, 70.4%, 37.6%)
CIE-LABlab(37.14, 46.06, 26.77)
CIE-LCHlch(37.14, 53.27, 30.17°)
OKLaboklab(47.58% 0.1344 0.062)
OKLCHoklch(47.58% 0.148 24.7)
XYZxyz(15.8294, 9.6115, 3.7105)
Luminance0.0961 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2F2F #2F9F9F
analogous
#9F2F67 #9F2F2F #9F672F
triadic
#9F2F2F #2F9F2F #2F2F9F
tetradic
#9F2F2F #679F2F #2F9F9F #672F9F
square
#9F2F2F #679F2F #2F9F9F #672F9F
split-complementary
#9F2F2F #2F9F67 #2F679F
monochromatic
#411313 #702121 #9F2F2F #C84444 #D67373

Accessibility & contrast

On white

7.19
#9F2F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#9F2F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2F2F
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2F2F#FFFFFF#000000##FFFFFF
##9F2F2F1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E482E
Deuteranopia (green-blind)
#6A602B
Tritanopia (blue-blind)
#AF0B30
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f2f2f;
/* rgb */ color: rgb(159, 47, 47);
/* oklch */ color: oklch(47.6% 0.148 24.7);
Tailwind
colors: {
  custom: {
    50: '#c36f67',
    500: '#9f2f2f',
    950: '#000000',
  },
}
SCSS
$custom: #9f2f2f;
$custom-light: #c36f67;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2f2f",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 47
  },
  "hsl": {
    "h": 0,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47582,
    "c": 0.148,
    "h": 24.7
  },
  "luminance": 0.09609
}

Semantic roles & 50–950 ramp

primary
#9F2F2F
secondary
#6DBDBD
accent
#DEDE4A
background
#FCF7F6
surface
#F9EDEB
border
#D2C8C6
text
#140806
muted
#827B7A

Preview Lab

Preview with #9F2F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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