#9A1E38#9A1E38

#9A1E38 is a mid, vivid red. Relative luminance 0.081; OKLCH L 45.2% C 0.158 H 15.2°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#9A1E38
RGBrgb(154, 30, 56)
HSLhsl(347, 67%, 36%)
HSVhsv(347, 81%, 60%)
CMYKcmyk(0%, 80.5%, 63.6%, 39.6%)
CIE-LABlab(34.16, 50.99, 17.15)
CIE-LCHlch(34.16, 53.79, 18.59°)
OKLaboklab(45.25% 0.1528 0.0416)
OKLCHoklch(45.25% 0.158 15.2)
XYZxyz(14.5061, 8.0863, 4.5376)
Luminance0.0808 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1E38 #1E9A80
analogous
#9A1E76 #9A1E38 #9A421E
triadic
#9A1E38 #389A1E #1E389A
tetradic
#9A1E38 #769A1E #1E9A80 #421E9A
square
#9A1E38 #769A1E #1E9A80 #421E9A
split-complementary
#9A1E38 #1E9A42 #1E769A
monochromatic
#340A13 #671425 #9A1E38 #CD284B #DE5571

Accessibility & contrast

On white

8.03
#9A1E38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#9A1E38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1E38
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1E38#FFFFFF#000000##FFFFFF
##9A1E381.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a1e38;
/* rgb */ color: rgb(154, 30, 56);
/* oklch */ color: oklch(45.2% 0.158 15.2);
Tailwind
colors: {
  custom: {
    50: '#bf676e',
    500: '#9a1e38',
    950: '#000000',
  },
}
SCSS
$custom: #9a1e38;
$custom-light: #bf676e;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1e38",
  "rgb": {
    "r": 154,
    "g": 30,
    "b": 56
  },
  "hsl": {
    "h": 347.419,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45245,
    "c": 0.15831,
    "h": 15.2
  },
  "luminance": 0.08084
}

Semantic roles & 50–950 ramp

primary
#9A1E38
secondary
#53C1AA
accent
#EAC63E
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130707
muted
#827A7A

Preview Lab

Preview with #9A1E38

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

Preview Lab → · Contrast checker → · Palette generator →

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