#9E2F2A#9E2F2A

#9E2F2A is a mid, vivid red. Relative luminance 0.095; OKLCH L 47.3% C 0.148 H 27.0°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#9E2F2A
RGBrgb(158, 47, 42)
HSLhsl(3, 58%, 39%)
HSVhsv(3, 73%, 62%)
CMYKcmyk(0%, 70.3%, 73.4%, 38%)
CIE-LABlab(36.88, 45.47, 29.45)
CIE-LCHlch(36.88, 54.17, 32.93°)
OKLaboklab(47.33% 0.1316 0.0669)
OKLCHoklch(47.33% 0.148 27)
XYZxyz(15.5367, 9.4716, 3.2001)
Luminance0.0947 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2F2A #2A999E
analogous
#9E2A5F #9E2F2A #9E692A
triadic
#9E2F2A #2A9E2F #2F2A9E
tetradic
#9E2F2A #5F9E2A #2A999E #692A9E
square
#9E2F2A #5F9E2A #2A999E #692A9E
split-complementary
#9E2F2A #2A9E69 #2A5F9E
monochromatic
#3D1210 #6E211D #9E2F2A #CB413A #D86F6B

Accessibility & contrast

On white

7.26
#9E2F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#9E2F2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2F2A
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2F2A#FFFFFF#000000##FFFFFF
##9E2F2A1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4728
Deuteranopia (green-blind)
#6A6026
Tritanopia (blue-blind)
#AE0A2F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e2f2a;
/* rgb */ color: rgb(158, 47, 42);
/* oklch */ color: oklch(47.3% 0.148 27.0);
Tailwind
colors: {
  custom: {
    50: '#c26f64',
    500: '#9e2f2a',
    950: '#000000',
  },
}
SCSS
$custom: #9e2f2a;
$custom-light: #c26f64;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2f2a",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 42
  },
  "hsl": {
    "h": 2.586,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47331,
    "c": 0.14762,
    "h": 27
  },
  "luminance": 0.09469
}

Semantic roles & 50–950 ramp

primary
#9E2F2A
secondary
#66BABE
accent
#DBE147
background
#FCF6F5
surface
#F9ECEA
border
#D2C7C6
text
#140805
muted
#827B79

Preview Lab

Preview with #9E2F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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