#9D2F28#9D2F28

#9D2F28 is a mid, vivid red. Relative luminance 0.094; OKLCH L 47.1% C 0.147 H 27.8°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#9D2F28
RGBrgb(157, 47, 40)
HSLhsl(4, 59%, 39%)
HSVhsv(4, 75%, 62%)
CMYKcmyk(0%, 70.1%, 74.5%, 38.4%)
CIE-LABlab(36.66, 45.03, 30.34)
CIE-LCHlch(36.66, 54.30, 33.97°)
OKLaboklab(47.13% 0.1299 0.0685)
OKLCHoklch(47.13% 0.147 27.8)
XYZxyz(15.3058, 9.3566, 3.0071)
Luminance0.0935 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2F28 #28969D
analogous
#9D285B #9D2F28 #9D6928
triadic
#9D2F28 #289D2F #2F289D
tetradic
#9D2F28 #5B9D28 #28969D #69289D
square
#9D2F28 #5B9D28 #28969D #69289D
split-complementary
#9D2F28 #289D69 #285B9D
monochromatic
#3B120F #6C201C #9D2F28 #CC3F36 #D86E67

Accessibility & contrast

On white

7.32
#9D2F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9D2F28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2F28
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2F28#FFFFFF#000000##FFFFFF
##9D2F281.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4726
Deuteranopia (green-blind)
#6A5F24
Tritanopia (blue-blind)
#AD0A2E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9d2f28;
/* rgb */ color: rgb(157, 47, 40);
/* oklch */ color: oklch(47.1% 0.147 27.8);
Tailwind
colors: {
  custom: {
    50: '#c26f62',
    500: '#9d2f28',
    950: '#000000',
  },
}
SCSS
$custom: #9d2f28;
$custom-light: #c26f62;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2f28",
  "rgb": {
    "r": 157,
    "g": 47,
    "b": 40
  },
  "hsl": {
    "h": 3.59,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47127,
    "c": 0.14685,
    "h": 27.8
  },
  "luminance": 0.09354
}

Semantic roles & 50–950 ramp

primary
#9D2F28
secondary
#62B9BE
accent
#D9E345
background
#FCF6F5
surface
#F9ECEA
border
#D2C7C6
text
#140805
muted
#827B79

Preview Lab

Preview with #9D2F28

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

Preview Lab → · Contrast checker → · Palette generator →

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