#9D2240#9D2240

#9D2240 is a mid, vivid red. Relative luminance 0.087; OKLCH L 46.3% C 0.158 H 12.4°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#9D2240
RGBrgb(157, 34, 64)
HSLhsl(345, 64%, 37%)
HSVhsv(345, 78%, 62%)
CMYKcmyk(0%, 78.3%, 59.2%, 38.4%)
CIE-LABlab(35.37, 51.18, 13.69)
CIE-LCHlch(35.37, 52.98, 14.97°)
OKLaboklab(46.3% 0.1545 0.034)
OKLCHoklch(46.3% 0.158 12.4)
XYZxyz(15.4036, 8.6846, 5.7147)
Luminance0.0868 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2240 #229D7F
analogous
#9D227D #9D2240 #9D4222
triadic
#9D2240 #409D22 #22409D
tetradic
#9D2240 #7D9D22 #229D7F #42229D
square
#9D2240 #7D9D22 #229D7F #42229D
split-complementary
#9D2240 #229D42 #227D9D
monochromatic
#380C17 #6B172B #9D2240 #CF2D55 #DC5D7C

Accessibility & contrast

On white

7.67
#9D2240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#9D2240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2240
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2240#FFFFFF#000000##FFFFFF
##9D22401.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444340
Deuteranopia (green-blind)
#635C3D
Tritanopia (blue-blind)
#AC002F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9d2240;
/* rgb */ color: rgb(157, 34, 64);
/* oklch */ color: oklch(46.3% 0.158 12.4);
Tailwind
colors: {
  custom: {
    50: '#c16974',
    500: '#9d2240',
    950: '#000000',
  },
}
SCSS
$custom: #9d2240;
$custom-light: #c16974;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2240",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 64
  },
  "hsl": {
    "h": 345.366,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46301,
    "c": 0.15818,
    "h": 12.4
  },
  "luminance": 0.08682
}

Semantic roles & 50–950 ramp

primary
#9D2240
secondary
#5AC1A8
accent
#E7BF40
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9D2240

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

Preview Lab → · Contrast checker → · Palette generator →

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