#9D2837#9D2837

#9D2837 is a mid, vivid red. Relative luminance 0.090; OKLCH L 46.6% C 0.152 H 18.5°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#9D2837
RGBrgb(157, 40, 55)
HSLhsl(352, 59%, 39%)
HSVhsv(352, 75%, 62%)
CMYKcmyk(0%, 74.5%, 65%, 38.4%)
CIE-LABlab(35.91, 48.54, 20.18)
CIE-LCHlch(35.91, 52.57, 22.57°)
OKLaboklab(46.65% 0.1443 0.0483)
OKLCHoklch(46.65% 0.152 18.5)
XYZxyz(15.3546, 8.9638, 4.5354)
Luminance0.0896 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2837 #289D8E
analogous
#9D2871 #9D2837 #9D5328
triadic
#9D2837 #379D28 #28379D
tetradic
#9D2837 #719D28 #289D8E #53289D
square
#9D2837 #719D28 #289D8E #53289D
split-complementary
#9D2837 #289D53 #28719D
monochromatic
#3B0F15 #6C1C26 #9D2837 #CC3649 #D86776

Accessibility & contrast

On white

7.52
#9D2837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#9D2837 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2837
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2837#FFFFFF#000000##FFFFFF
##9D28371.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494537
Deuteranopia (green-blind)
#665D34
Tritanopia (blue-blind)
#AC002F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9d2837;
/* rgb */ color: rgb(157, 40, 55);
/* oklch */ color: oklch(46.6% 0.152 18.5);
Tailwind
colors: {
  custom: {
    50: '#c16c6d',
    500: '#9d2837',
    950: '#000000',
  },
}
SCSS
$custom: #9d2837;
$custom-light: #c16c6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2837",
  "rgb": {
    "r": 157,
    "g": 40,
    "b": 55
  },
  "hsl": {
    "h": 352.308,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46645,
    "c": 0.15218,
    "h": 18.5
  },
  "luminance": 0.08962
}

Semantic roles & 50–950 ramp

primary
#9D2837
secondary
#62BEB3
accent
#E3CE45
background
#FCF6F6
surface
#F9ECEB
border
#D2C7C6
text
#140707
muted
#827A7A

Preview Lab

Preview with #9D2837

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

Preview Lab → · Contrast checker → · Palette generator →

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