#9D1A38#9D1A38

#9D1A38 is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.5% C 0.164 H 15.0°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#9D1A38
RGBrgb(157, 26, 56)
HSLhsl(346, 72%, 36%)
HSVhsv(346, 83%, 62%)
CMYKcmyk(0%, 83.4%, 64.3%, 38.4%)
CIE-LABlab(34.39, 52.96, 17.55)
CIE-LCHlch(34.39, 55.79, 18.34°)
OKLaboklab(45.52% 0.1587 0.0424)
OKLCHoklch(45.52% 0.164 15)
XYZxyz(14.9895, 8.1947, 4.5331)
Luminance0.0819 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1A38 #1A9D7F
analogous
#9D1A79 #9D1A38 #9D3E1A
triadic
#9D1A38 #389D1A #1A389D
tetradic
#9D1A38 #799D1A #1A9D7F #3E1A9D
square
#9D1A38 #799D1A #1A9D7F #3E1A9D
split-complementary
#9D1A38 #1A9D3E #1A799D
monochromatic
#340913 #681125 #9D1A38 #D2234B #E24F71

Accessibility & contrast

On white

7.96
#9D1A38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#9D1A38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1A38
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1A38#FFFFFF#000000##FFFFFF
##9D1A381.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424038
Deuteranopia (green-blind)
#635A34
Tritanopia (blue-blind)
#AD0028
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9d1a38;
/* rgb */ color: rgb(157, 26, 56);
/* oklch */ color: oklch(45.5% 0.164 15.0);
Tailwind
colors: {
  custom: {
    50: '#c1666e',
    500: '#9d1a38',
    950: '#000000',
  },
}
SCSS
$custom: #9d1a38;
$custom-light: #c1666e;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1a38",
  "rgb": {
    "r": 157,
    "g": 26,
    "b": 56
  },
  "hsl": {
    "h": 346.26,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45519,
    "c": 0.16426,
    "h": 15
  },
  "luminance": 0.08192
}

Semantic roles & 50–950 ramp

primary
#9D1A38
secondary
#4EC4A9
accent
#EEC539
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140707
muted
#827A7A

Preview Lab

Preview with #9D1A38

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

Preview Lab → · Contrast checker → · Palette generator →

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