#9A2128#9A2128

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

Color values

HEX#9A2128
RGBrgb(154, 33, 40)
HSLhsl(357, 65%, 37%)
HSVhsv(357, 79%, 60%)
CMYKcmyk(0%, 78.6%, 74%, 39.6%)
CIE-LABlab(34.22, 49.20, 27.39)
CIE-LCHlch(34.22, 56.31, 29.11°)
OKLaboklab(45.2% 0.1435 0.0622)
OKLCHoklch(45.2% 0.156 23.4)
XYZxyz(14.2549, 8.1132, 2.8225)
Luminance0.0811 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2128 #219A93
analogous
#9A2165 #9A2128 #9A5721
triadic
#9A2128 #289A21 #21289A
tetradic
#9A2128 #659A21 #219A93 #57219A
square
#9A2128 #659A21 #219A93 #57219A
split-complementary
#9A2128 #219A57 #21659A
monochromatic
#350B0E #68161B #9A2128 #CC2C35 #DC5A61

Accessibility & contrast

On white

8.01
#9A2128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A2128
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2128#FFFFFF#000000##FFFFFF
##9A21281.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464027
Deuteranopia (green-blind)
#645A24
Tritanopia (blue-blind)
#AA0025
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #9a2128;
/* rgb */ color: rgb(154, 33, 40);
/* oklch */ color: oklch(45.2% 0.156 23.4);
Tailwind
colors: {
  custom: {
    50: '#c06862',
    500: '#9a2128',
    950: '#000000',
  },
}
SCSS
$custom: #9a2128;
$custom-light: #c06862;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2128",
  "rgb": {
    "r": 154,
    "g": 33,
    "b": 40
  },
  "hsl": {
    "h": 356.529,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45198,
    "c": 0.15637,
    "h": 23.4
  },
  "luminance": 0.08111
}

Semantic roles & 50–950 ramp

primary
#9A2128
secondary
#57C0BA
accent
#E8DE40
background
#FCF6F5
surface
#F9EBEA
border
#D2C6C6
text
#140705
muted
#827A79

Preview Lab

Preview with #9A2128

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

Preview Lab → · Contrast checker → · Palette generator →

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