#9D2138#9D2138

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

Color values

HEX#9D2138
RGBrgb(157, 33, 56)
HSLhsl(349, 65%, 37%)
HSVhsv(349, 79%, 62%)
CMYKcmyk(0%, 79%, 64.3%, 38.4%)
CIE-LABlab(35.09, 50.97, 18.47)
CIE-LCHlch(35.09, 54.21, 19.93°)
OKLaboklab(46.04% 0.1523 0.0446)
OKLCHoklch(46.04% 0.159 16.3)
XYZxyz(15.1639, 8.5436, 4.5912)
Luminance0.0854 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2138 #219D86
analogous
#9D2176 #9D2138 #9D4821
triadic
#9D2138 #389D21 #21389D
tetradic
#9D2138 #769D21 #219D86 #48219D
square
#9D2138 #769D21 #219D86 #48219D
split-complementary
#9D2138 #219D48 #21769D
monochromatic
#380C14 #6A1626 #9D2138 #D02C4A #DD5C74

Accessibility & contrast

On white

7.75
#9D2138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#9D2138 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2138
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2138#FFFFFF#000000##FFFFFF
##9D21381.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454238
Deuteranopia (green-blind)
#645C35
Tritanopia (blue-blind)
#AC002B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d2138;
/* rgb */ color: rgb(157, 33, 56);
/* oklch */ color: oklch(46.0% 0.159 16.3);
Tailwind
colors: {
  custom: {
    50: '#c1696e',
    500: '#9d2138',
    950: '#000000',
  },
}
SCSS
$custom: #9d2138;
$custom-light: #c1696e;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2138",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 56
  },
  "hsl": {
    "h": 348.871,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4604,
    "c": 0.15864,
    "h": 16.3
  },
  "luminance": 0.08541
}

Semantic roles & 50–950 ramp

primary
#9D2138
secondary
#59C1AE
accent
#E8C940
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140707
muted
#827A7A

Preview Lab

Preview with #9D2138

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

Preview Lab → · Contrast checker → · Palette generator →

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