#9A251F#9A251F

#9A251F is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.4% C 0.154 H 28.0°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#9A251F
RGBrgb(154, 37, 31)
HSLhsl(3, 66%, 36%)
HSVhsv(3, 80%, 60%)
CMYKcmyk(0%, 76%, 79.9%, 39.6%)
CIE-LABlab(34.59, 47.49, 33.19)
CIE-LCHlch(34.59, 57.93, 34.95°)
OKLaboklab(45.44% 0.1361 0.0725)
OKLCHoklch(45.44% 0.154 28)
XYZxyz(14.2370, 8.2943, 2.1474)
Luminance0.0829 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A251F #1F949A
analogous
#9A1F57 #9A251F #9A631F
triadic
#9A251F #1F9A25 #251F9A
tetradic
#9A251F #579A1F #1F949A #631F9A
square
#9A251F #579A1F #1F949A #631F9A
split-complementary
#9A251F #1F9A63 #1F579A
monochromatic
#340D0A #671915 #9A251F #CD3129 #DD5D56

Accessibility & contrast

On white

7.90
#9A251F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#9A251F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A251F
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A251F#FFFFFF#000000##FFFFFF
##9A251F1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49411D
Deuteranopia (green-blind)
#655B1A
Tritanopia (blue-blind)
#AA0025
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9a251f;
/* rgb */ color: rgb(154, 37, 31);
/* oklch */ color: oklch(45.4% 0.154 28.0);
Tailwind
colors: {
  custom: {
    50: '#c0695b',
    500: '#9a251f',
    950: '#000000',
  },
}
SCSS
$custom: #9a251f;
$custom-light: #c0695b;
$custom-dark: #000000;
JSON
{
  "hex": "#9a251f",
  "rgb": {
    "r": 154,
    "g": 37,
    "b": 31
  },
  "hsl": {
    "h": 2.927,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45439,
    "c": 0.15414,
    "h": 28
  },
  "luminance": 0.08292
}

Semantic roles & 50–950 ramp

primary
#9A251F
secondary
#54BBC1
accent
#E1E93E
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140704
muted
#827A79

Preview Lab

Preview with #9A251F

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

Preview Lab → · Contrast checker → · Palette generator →

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