#9F2A2E#9F2A2E

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

Color values

HEX#9F2A2E
RGBrgb(159, 42, 46)
HSLhsl(358, 58%, 39%)
HSVhsv(358, 74%, 62%)
CMYKcmyk(0%, 73.6%, 71.1%, 37.6%)
CIE-LABlab(36.42, 47.94, 26.53)
CIE-LCHlch(36.42, 54.79, 28.95°)
OKLaboklab(47.04% 0.1402 0.0612)
OKLCHoklch(47.04% 0.153 23.6)
XYZxyz(15.6209, 9.2265, 3.5426)
Luminance0.0922 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2A2E #2A9F9B
analogous
#9F2A69 #9F2A2E #9F612A
triadic
#9F2A2E #2E9F2A #2A2E9F
tetradic
#9F2A2E #699F2A #2A9F9B #612A9F
square
#9F2A2E #699F2A #2A9F9B #612A9F
split-complementary
#9F2A2E #2A9F61 #2A699F
monochromatic
#3E1012 #6F1D20 #9F2A2E #CB3B40 #D86B6F

Accessibility & contrast

On white

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

On black

2.84
#9F2A2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9F2A2E#FFFFFF#000000##FFFFFF
##9F2A2E1.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f2a2e;
/* rgb */ color: rgb(159, 42, 46);
/* oklch */ color: oklch(47.0% 0.153 23.6);
Tailwind
colors: {
  custom: {
    50: '#c36d66',
    500: '#9f2a2e',
    950: '#000000',
  },
}
SCSS
$custom: #9f2a2e;
$custom-light: #c36d66;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2a2e",
  "rgb": {
    "r": 159,
    "g": 42,
    "b": 46
  },
  "hsl": {
    "h": 357.949,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47041,
    "c": 0.15296,
    "h": 23.6
  },
  "luminance": 0.09224
}

Semantic roles & 50–950 ramp

primary
#9F2A2E
secondary
#66BFBC
accent
#E1DC46
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#140706
muted
#837A7A

Preview Lab

Preview with #9F2A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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