#9D2234#9D2234

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

Color values

HEX#9D2234
RGBrgb(157, 34, 52)
HSLhsl(351, 64%, 37%)
HSVhsv(351, 78%, 62%)
CMYKcmyk(0%, 78.3%, 66.9%, 38.4%)
CIE-LABlab(35.13, 50.41, 21.08)
CIE-LCHlch(35.13, 54.64, 22.70°)
OKLaboklab(46.04% 0.1496 0.0501)
OKLCHoklch(46.04% 0.158 18.5)
XYZxyz(15.0981, 8.5624, 4.1059)
Luminance0.0856 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2234 #229D8B
analogous
#9D2271 #9D2234 #9D4E22
triadic
#9D2234 #349D22 #22349D
tetradic
#9D2234 #719D22 #229D8B #4E229D
square
#9D2234 #719D22 #229D8B #4E229D
split-complementary
#9D2234 #229D4E #22719D
monochromatic
#380C13 #6B1723 #9D2234 #CF2D45 #DC5D70

Accessibility & contrast

On white

7.74
#9D2234 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D2234
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2234#FFFFFF#000000##FFFFFF
##9D22341.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464234
Deuteranopia (green-blind)
#655C30
Tritanopia (blue-blind)
#AD002A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9d2234;
/* rgb */ color: rgb(157, 34, 52);
/* oklch */ color: oklch(46.0% 0.158 18.5);
Tailwind
colors: {
  custom: {
    50: '#c1696b',
    500: '#9d2234',
    950: '#000000',
  },
}
SCSS
$custom: #9d2234;
$custom-light: #c1696b;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2234",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 52
  },
  "hsl": {
    "h": 351.22,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46043,
    "c": 0.15778,
    "h": 18.5
  },
  "luminance": 0.0856
}

Semantic roles & 50–950 ramp

primary
#9D2234
secondary
#5AC1B2
accent
#E7CF40
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140706
muted
#827A7A

Preview Lab

Preview with #9D2234

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

Preview Lab → · Contrast checker → · Palette generator →

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