#9D2238#9D2238

#9D2238 is a mid, vivid red. Relative luminance 0.086; OKLCH L 46.1% C 0.158 H 16.5°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#9D2238
RGBrgb(157, 34, 56)
HSLhsl(349, 64%, 37%)
HSVhsv(349, 78%, 62%)
CMYKcmyk(0%, 78.3%, 64.3%, 38.4%)
CIE-LABlab(35.20, 50.65, 18.62)
CIE-LCHlch(35.20, 53.96, 20.18°)
OKLaboklab(46.12% 0.1513 0.0449)
OKLCHoklch(46.12% 0.158 16.5)
XYZxyz(15.1921, 8.6000, 4.6006)
Luminance0.0860 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2238 #229D87
analogous
#9D2276 #9D2238 #9D4922
triadic
#9D2238 #389D22 #22389D
tetradic
#9D2238 #769D22 #229D87 #49229D
square
#9D2238 #769D22 #229D87 #49229D
split-complementary
#9D2238 #229D49 #22769D
monochromatic
#380C14 #6B1726 #9D2238 #CF2D4A #DC5D74

Accessibility & contrast

On white

7.72
#9D2238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#9D2238 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2238
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2238#FFFFFF#000000##FFFFFF
##9D22381.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d2238;
/* rgb */ color: rgb(157, 34, 56);
/* oklch */ color: oklch(46.1% 0.158 16.5);
Tailwind
colors: {
  custom: {
    50: '#c1696e',
    500: '#9d2238',
    950: '#000000',
  },
}
SCSS
$custom: #9d2238;
$custom-light: #c1696e;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2238",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 56
  },
  "hsl": {
    "h": 349.268,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46123,
    "c": 0.15777,
    "h": 16.5
  },
  "luminance": 0.08598
}

Semantic roles & 50–950 ramp

primary
#9D2238
secondary
#5AC1AE
accent
#E7CA40
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140707
muted
#827A7A

Preview Lab

Preview with #9D2238

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

Preview Lab → · Contrast checker → · Palette generator →

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