#9A1F28#9A1F28

#9A1F28 is a mid, vivid red. Relative luminance 0.080; OKLCH L 45.0% C 0.158 H 23.0°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#9A1F28
RGBrgb(154, 31, 40)
HSLhsl(356, 66%, 36%)
HSVhsv(356, 80%, 60%)
CMYKcmyk(0%, 79.9%, 74%, 39.6%)
CIE-LABlab(33.99, 49.82, 27.13)
CIE-LCHlch(33.99, 56.73, 28.57°)
OKLaboklab(45.03% 0.1455 0.0617)
OKLCHoklch(45.03% 0.158 23)
XYZxyz(14.2011, 8.0054, 2.8045)
Luminance0.0800 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1F28 #1F9A91
analogous
#9A1F66 #9A1F28 #9A541F
triadic
#9A1F28 #289A1F #1F289A
tetradic
#9A1F28 #669A1F #1F9A91 #541F9A
square
#9A1F28 #669A1F #1F9A91 #541F9A
split-complementary
#9A1F28 #1F9A54 #1F669A
monochromatic
#340A0E #67151B #9A1F28 #CD2935 #DD5660

Accessibility & contrast

On white

8.08
#9A1F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#9A1F28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1F28
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1F28#FFFFFF#000000##FFFFFF
##9A1F281.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453F27
Deuteranopia (green-blind)
#635924
Tritanopia (blue-blind)
#AA0024
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #9a1f28;
/* rgb */ color: rgb(154, 31, 40);
/* oklch */ color: oklch(45.0% 0.158 23.0);
Tailwind
colors: {
  custom: {
    50: '#c06762',
    500: '#9a1f28',
    950: '#000000',
  },
}
SCSS
$custom: #9a1f28;
$custom-light: #c06762;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1f28",
  "rgb": {
    "r": 154,
    "g": 31,
    "b": 40
  },
  "hsl": {
    "h": 355.61,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45032,
    "c": 0.15799,
    "h": 23
  },
  "luminance": 0.08003
}

Semantic roles & 50–950 ramp

primary
#9A1F28
secondary
#54C1B9
accent
#E9DD3E
background
#FCF6F5
surface
#F9EBEA
border
#D2C6C6
text
#140705
muted
#827A79

Preview Lab

Preview with #9A1F28

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

Preview Lab → · Contrast checker → · Palette generator →

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