#9D2039#9D2039

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

Color values

HEX#9D2039
RGBrgb(157, 32, 57)
HSLhsl(348, 66%, 37%)
HSVhsv(348, 80%, 62%)
CMYKcmyk(0%, 79.6%, 63.7%, 38.4%)
CIE-LABlab(35.00, 51.34, 17.71)
CIE-LCHlch(35.00, 54.31, 19.04°)
OKLaboklab(45.98% 0.1537 0.0429)
OKLCHoklch(45.98% 0.16 15.6)
XYZxyz(15.1613, 8.4988, 4.7122)
Luminance0.0850 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2039 #209D84
analogous
#9D2078 #9D2039 #9D4620
triadic
#9D2039 #399D20 #20399D
tetradic
#9D2039 #789D20 #209D84 #46209D
square
#9D2039 #789D20 #209D84 #46209D
split-complementary
#9D2039 #209D46 #20789D
monochromatic
#370B14 #6A1627 #9D2039 #D02A4B #DD5A74

Accessibility & contrast

On white

7.78
#9D2039 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D2039
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2039#FFFFFF#000000##FFFFFF
##9D20391.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d2039;
/* rgb */ color: rgb(157, 32, 57);
/* oklch */ color: oklch(46.0% 0.160 15.6);
Tailwind
colors: {
  custom: {
    50: '#c1686f',
    500: '#9d2039',
    950: '#000000',
  },
}
SCSS
$custom: #9d2039;
$custom-light: #c1686f;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2039",
  "rgb": {
    "r": 157,
    "g": 32,
    "b": 57
  },
  "hsl": {
    "h": 348,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4598,
    "c": 0.15952,
    "h": 15.6
  },
  "luminance": 0.08497
}

Semantic roles & 50–950 ramp

primary
#9D2039
secondary
#57C1AC
accent
#E9C73F
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140707
muted
#827A7A

Preview Lab

Preview with #9D2039

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

Preview Lab → · Contrast checker → · Palette generator →

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