#9F2A2F#9F2A2F

#9F2A2F is a mid, vivid red. Relative luminance 0.092; OKLCH L 47.1% C 0.153 H 23.1°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#9F2A2F
RGBrgb(159, 42, 47)
HSLhsl(357, 58%, 39%)
HSVhsv(357, 74%, 62%)
CMYKcmyk(0%, 73.6%, 70.4%, 37.6%)
CIE-LABlab(36.43, 48.00, 25.93)
CIE-LCHlch(36.43, 54.55, 28.38°)
OKLaboklab(47.06% 0.1406 0.0601)
OKLCHoklch(47.06% 0.153 23.1)
XYZxyz(15.6409, 9.2344, 3.6476)
Luminance0.0923 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2A2F #2A9F9A
analogous
#9F2A6A #9F2A2F #9F602A
triadic
#9F2A2F #2F9F2A #2A2F9F
tetradic
#9F2A2F #6A9F2A #2A9F9A #602A9F
square
#9F2A2F #6A9F2A #2A9F9A #602A9F
split-complementary
#9F2A2F #2A9F60 #2A6A9F
monochromatic
#3E1012 #6F1D21 #9F2A2F #CB3B41 #D86B70

Accessibility & contrast

On white

7.38
#9F2A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#9F2A2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2A2F
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2A2F#FFFFFF#000000##FFFFFF
##9F2A2F1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C462E
Deuteranopia (green-blind)
#695F2B
Tritanopia (blue-blind)
#AF002D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f2a2f;
/* rgb */ color: rgb(159, 42, 47);
/* oklch */ color: oklch(47.1% 0.153 23.1);
Tailwind
colors: {
  custom: {
    50: '#c36d67',
    500: '#9f2a2f',
    950: '#000000',
  },
}
SCSS
$custom: #9f2a2f;
$custom-light: #c36d67;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2a2f",
  "rgb": {
    "r": 159,
    "g": 42,
    "b": 47
  },
  "hsl": {
    "h": 357.436,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47057,
    "c": 0.15285,
    "h": 23.1
  },
  "luminance": 0.09232
}

Semantic roles & 50–950 ramp

primary
#9F2A2F
secondary
#66BFBB
accent
#E1DB46
background
#FCF6F6
surface
#F9ECEB
border
#D2C7C6
text
#140706
muted
#827A7A

Preview Lab

Preview with #9F2A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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