#9A1D38#9A1D38

#9A1D38 is a mid, vivid red. Relative luminance 0.080; OKLCH L 45.2% C 0.159 H 15.0°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#9A1D38
RGBrgb(154, 29, 56)
HSLhsl(347, 68%, 36%)
HSVhsv(347, 81%, 60%)
CMYKcmyk(0%, 81.2%, 63.6%, 39.6%)
CIE-LABlab(34.06, 51.28, 17.01)
CIE-LCHlch(34.06, 54.03, 18.35°)
OKLaboklab(45.17% 0.1537 0.0413)
OKLCHoklch(45.17% 0.159 15)
XYZxyz(14.4811, 8.0365, 4.5293)
Luminance0.0803 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1D38 #1D9A7F
analogous
#9A1D76 #9A1D38 #9A401D
triadic
#9A1D38 #389A1D #1D389A
tetradic
#9A1D38 #769A1D #1D9A7F #401D9A
square
#9A1D38 #769A1D #1D9A7F #401D9A
split-complementary
#9A1D38 #1D9A40 #1D769A
monochromatic
#330A13 #661325 #9A1D38 #CE274B #DF5371

Accessibility & contrast

On white

8.06
#9A1D38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#9A1D38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1D38
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1D38#FFFFFF#000000##FFFFFF
##9A1D381.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424038
Deuteranopia (green-blind)
#615935
Tritanopia (blue-blind)
#A90029
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #9a1d38;
/* rgb */ color: rgb(154, 29, 56);
/* oklch */ color: oklch(45.2% 0.159 15.0);
Tailwind
colors: {
  custom: {
    50: '#bf676e',
    500: '#9a1d38',
    950: '#000000',
  },
}
SCSS
$custom: #9a1d38;
$custom-light: #bf676e;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1d38",
  "rgb": {
    "r": 154,
    "g": 29,
    "b": 56
  },
  "hsl": {
    "h": 347.04,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45169,
    "c": 0.15913,
    "h": 15
  },
  "luminance": 0.08034
}

Semantic roles & 50–950 ramp

primary
#9A1D38
secondary
#51C2A9
accent
#EBC53D
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130707
muted
#827A7A

Preview Lab

Preview with #9A1D38

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

Preview Lab → · Contrast checker → · Palette generator →

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