#9D2840#9D2840

#9D2840 is a mid, vivid red. Relative luminance 0.091; OKLCH L 46.8% C 0.152 H 13.8°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#9D2840
RGBrgb(157, 40, 64)
HSLhsl(348, 59%, 39%)
HSVhsv(348, 75%, 62%)
CMYKcmyk(0%, 74.5%, 59.2%, 38.4%)
CIE-LABlab(36.10, 49.15, 14.67)
CIE-LCHlch(36.10, 51.29, 16.62°)
OKLaboklab(46.84% 0.148 0.0363)
OKLCHoklch(46.84% 0.152 13.8)
XYZxyz(15.5904, 9.0581, 5.7769)
Luminance0.0906 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2840 #289D85
analogous
#9D287A #9D2840 #9D4A28
triadic
#9D2840 #409D28 #28409D
tetradic
#9D2840 #7A9D28 #289D85 #4A289D
square
#9D2840 #7A9D28 #289D85 #4A289D
split-complementary
#9D2840 #289D4A #287A9D
monochromatic
#3B0F18 #6C1C2C #9D2840 #CC3655 #D8677E

Accessibility & contrast

On white

7.47
#9D2840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#9D2840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2840
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2840#FFFFFF#000000##FFFFFF
##9D28401.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474640
Deuteranopia (green-blind)
#655E3D
Tritanopia (blue-blind)
#AC0332
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9d2840;
/* rgb */ color: rgb(157, 40, 64);
/* oklch */ color: oklch(46.8% 0.152 13.8);
Tailwind
colors: {
  custom: {
    50: '#c06c74',
    500: '#9d2840',
    950: '#000000',
  },
}
SCSS
$custom: #9d2840;
$custom-light: #c06c74;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2840",
  "rgb": {
    "r": 157,
    "g": 40,
    "b": 64
  },
  "hsl": {
    "h": 347.692,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46838,
    "c": 0.15234,
    "h": 13.8
  },
  "luminance": 0.09056
}

Semantic roles & 50–950 ramp

primary
#9D2840
secondary
#62BEAC
accent
#E3C245
background
#FCF6F7
surface
#F8ECED
border
#D1C7C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #9D2840

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

Preview Lab → · Contrast checker → · Palette generator →

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