#9D2038#9D2038

#9D2038 is a mid, vivid red. Relative luminance 0.085; OKLCH L 46.0% C 0.160 H 16.1°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#9D2038
RGBrgb(157, 32, 56)
HSLhsl(348, 66%, 37%)
HSVhsv(348, 80%, 62%)
CMYKcmyk(0%, 79.6%, 64.3%, 38.4%)
CIE-LABlab(34.98, 51.27, 18.33)
CIE-LCHlch(34.98, 54.45, 19.67°)
OKLaboklab(45.96% 0.1533 0.0442)
OKLCHoklch(45.96% 0.16 16.1)
XYZxyz(15.1366, 8.4889, 4.5821)
Luminance0.0849 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2038 #209D85
analogous
#9D2077 #9D2038 #9D4720
triadic
#9D2038 #389D20 #20389D
tetradic
#9D2038 #779D20 #209D85 #47209D
square
#9D2038 #779D20 #209D85 #47209D
split-complementary
#9D2038 #209D47 #20779D
monochromatic
#370B14 #6A1626 #9D2038 #D02A4A #DD5A73

Accessibility & contrast

On white

7.79
#9D2038 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#9D2038 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2038
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2038#FFFFFF#000000##FFFFFF
##9D20381.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444238
Deuteranopia (green-blind)
#645C34
Tritanopia (blue-blind)
#AC002A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d2038;
/* rgb */ color: rgb(157, 32, 56);
/* oklch */ color: oklch(46.0% 0.160 16.1);
Tailwind
colors: {
  custom: {
    50: '#c1686e',
    500: '#9d2038',
    950: '#000000',
  },
}
SCSS
$custom: #9d2038;
$custom-light: #c1686e;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2038",
  "rgb": {
    "r": 157,
    "g": 32,
    "b": 56
  },
  "hsl": {
    "h": 348.48,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45959,
    "c": 0.1595,
    "h": 16.1
  },
  "luminance": 0.08487
}

Semantic roles & 50–950 ramp

primary
#9D2038
secondary
#57C1AD
accent
#E9C83F
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140707
muted
#827A7A

Preview Lab

Preview with #9D2038

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

Preview Lab → · Contrast checker → · Palette generator →

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