#9D2340#9D2340

#9D2340 is a mid, vivid red. Relative luminance 0.087; OKLCH L 46.4% C 0.157 H 12.6°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#9D2340
RGBrgb(157, 35, 64)
HSLhsl(346, 64%, 38%)
HSVhsv(346, 78%, 62%)
CMYKcmyk(0%, 77.7%, 59.2%, 38.4%)
CIE-LABlab(35.48, 50.86, 13.84)
CIE-LCHlch(35.48, 52.71, 15.22°)
OKLaboklab(46.39% 0.1535 0.0343)
OKLCHoklch(46.39% 0.157 12.6)
XYZxyz(15.4326, 8.7426, 5.7244)
Luminance0.0874 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2340 #239D80
analogous
#9D237D #9D2340 #9D4323
triadic
#9D2340 #409D23 #23409D
tetradic
#9D2340 #7D9D23 #239D80 #43239D
square
#9D2340 #7D9D23 #239D80 #43239D
split-complementary
#9D2340 #239D43 #237D9D
monochromatic
#390D17 #6B182C #9D2340 #CF2E54 #DB5F7D

Accessibility & contrast

On white

7.64
#9D2340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#9D2340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2340
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2340#FFFFFF#000000##FFFFFF
##9D23401.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d2340;
/* rgb */ color: rgb(157, 35, 64);
/* oklch */ color: oklch(46.4% 0.157 12.6);
Tailwind
colors: {
  custom: {
    50: '#c06a74',
    500: '#9d2340',
    950: '#000000',
  },
}
SCSS
$custom: #9d2340;
$custom-light: #c06a74;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2340",
  "rgb": {
    "r": 157,
    "g": 35,
    "b": 64
  },
  "hsl": {
    "h": 345.738,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46385,
    "c": 0.15726,
    "h": 12.6
  },
  "luminance": 0.0874
}

Semantic roles & 50–950 ramp

primary
#9D2340
secondary
#5CC0A8
accent
#E7BF41
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #9D2340

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

Preview Lab → · Contrast checker → · Palette generator →

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