#9D2938#9D2938

#9D2938 is a mid, vivid red. Relative luminance 0.090; OKLCH L 46.8% C 0.151 H 18.3°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#9D2938
RGBrgb(157, 41, 56)
HSLhsl(352, 59%, 39%)
HSVhsv(352, 74%, 62%)
CMYKcmyk(0%, 73.9%, 64.3%, 38.4%)
CIE-LABlab(36.06, 48.24, 19.74)
CIE-LCHlch(36.06, 52.12, 22.25°)
OKLaboklab(46.76% 0.1435 0.0475)
OKLCHoklch(46.76% 0.151 18.3)
XYZxyz(15.4130, 9.0418, 4.6743)
Luminance0.0904 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2938 #299D8E
analogous
#9D2972 #9D2938 #9D5429
triadic
#9D2938 #389D29 #29389D
tetradic
#9D2938 #729D29 #299D8E #54299D
square
#9D2938 #729D29 #299D8E #54299D
split-complementary
#9D2938 #299D54 #29729D
monochromatic
#3C1015 #6C1C27 #9D2938 #CB384B #D86977

Accessibility & contrast

On white

7.48
#9D2938 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#9D2938 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2938
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2938#FFFFFF#000000##FFFFFF
##9D29381.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494538
Deuteranopia (green-blind)
#665E35
Tritanopia (blue-blind)
#AC002F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9d2938;
/* rgb */ color: rgb(157, 41, 56);
/* oklch */ color: oklch(46.8% 0.151 18.3);
Tailwind
colors: {
  custom: {
    50: '#c16c6e',
    500: '#9d2938',
    950: '#000000',
  },
}
SCSS
$custom: #9d2938;
$custom-light: #c16c6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2938",
  "rgb": {
    "r": 157,
    "g": 41,
    "b": 56
  },
  "hsl": {
    "h": 352.241,
    "s": 58.586,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46762,
    "c": 0.15117,
    "h": 18.3
  },
  "luminance": 0.09039
}

Semantic roles & 50–950 ramp

primary
#9D2938
secondary
#64BEB2
accent
#E2CE46
background
#FCF6F6
surface
#F9ECEB
border
#D2C7C6
text
#140707
muted
#827A7A

Preview Lab

Preview with #9D2938

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

Preview Lab → · Contrast checker → · Palette generator →

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