#9D2518#9D2518

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

Color values

HEX#9D2518
RGBrgb(157, 37, 24)
HSLhsl(6, 73%, 35%)
HSVhsv(6, 85%, 62%)
CMYKcmyk(0%, 76.4%, 84.7%, 38.4%)
CIE-LABlab(35.12, 48.23, 37.76)
CIE-LCHlch(35.12, 61.26, 38.06°)
OKLaboklab(45.92% 0.1367 0.0797)
OKLCHoklch(45.92% 0.158 30.2)
XYZxyz(14.7329, 8.5595, 1.7404)
Luminance0.0856 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2518 #18909D
analogous
#9D184D #9D2518 #9D6818
triadic
#9D2518 #189D25 #25189D
tetradic
#9D2518 #4D9D18 #18909D #68189D
square
#9D2518 #4D9D18 #18909D #68189D
split-complementary
#9D2518 #189D68 #184D9D
monochromatic
#330C08 #681810 #9D2518 #D23220 #E45B4C

Accessibility & contrast

On white

7.75
#9D2518 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D2518
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2518#FFFFFF#000000##FFFFFF
##9D25181.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4215
Deuteranopia (green-blind)
#685C11
Tritanopia (blue-blind)
#AD0023
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9d2518;
/* rgb */ color: rgb(157, 37, 24);
/* oklch */ color: oklch(45.9% 0.158 30.2);
Tailwind
colors: {
  custom: {
    50: '#c36a57',
    500: '#9d2518',
    950: '#000000',
  },
}
SCSS
$custom: #9d2518;
$custom-light: #c36a57;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2518",
  "rgb": {
    "r": 157,
    "g": 37,
    "b": 24
  },
  "hsl": {
    "h": 5.865,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45923,
    "c": 0.1582,
    "h": 30.2
  },
  "luminance": 0.08557
}

Semantic roles & 50–950 ramp

primary
#9D2518
secondary
#4BB9C5
accent
#DEF038
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140703
muted
#837A78

Preview Lab

Preview with #9D2518

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

Preview Lab → · Contrast checker → · Palette generator →

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