#9D2728#9D2728

#9D2728 is a mid, vivid red. Relative luminance 0.088; OKLCH L 46.3% C 0.154 H 25.2°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#9D2728
RGBrgb(157, 39, 40)
HSLhsl(359, 60%, 38%)
HSVhsv(359, 75%, 62%)
CMYKcmyk(0%, 75.2%, 74.5%, 38.4%)
CIE-LABlab(35.55, 48.11, 29.08)
CIE-LCHlch(35.55, 56.21, 31.15°)
OKLaboklab(46.29% 0.1396 0.0657)
OKLCHoklch(46.29% 0.154 25.2)
XYZxyz(15.0149, 8.7746, 2.9101)
Luminance0.0877 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2728 #279D9C
analogous
#9D2763 #9D2728 #9D6127
triadic
#9D2728 #289D27 #27289D
tetradic
#9D2728 #639D27 #279D9C #61279D
square
#9D2728 #639D27 #279D9C #61279D
split-complementary
#9D2728 #279D61 #27639D
monochromatic
#3B0F0F #6C1B1C #9D2728 #CD3536 #D96666

Accessibility & contrast

On white

7.62
#9D2728 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#9D2728 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2728
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2728#FFFFFF#000000##FFFFFF
##9D27281.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4327
Deuteranopia (green-blind)
#675D24
Tritanopia (blue-blind)
#AD0029
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9d2728;
/* rgb */ color: rgb(157, 39, 40);
/* oklch */ color: oklch(46.3% 0.154 25.2);
Tailwind
colors: {
  custom: {
    50: '#c26b62',
    500: '#9d2728',
    950: '#000000',
  },
}
SCSS
$custom: #9d2728;
$custom-light: #c26b62;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2728",
  "rgb": {
    "r": 157,
    "g": 39,
    "b": 40
  },
  "hsl": {
    "h": 359.492,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46295,
    "c": 0.1543,
    "h": 25.2
  },
  "luminance": 0.08772
}

Semantic roles & 50–950 ramp

primary
#9D2728
secondary
#61BFBE
accent
#E3E244
background
#FDF6F5
surface
#FAECEA
border
#D3C7C6
text
#140705
muted
#837A79

Preview Lab

Preview with #9D2728

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

Preview Lab → · Contrast checker → · Palette generator →

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