#9A2127#9A2127

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

Color values

HEX#9A2127
RGBrgb(154, 33, 39)
HSLhsl(357, 65%, 37%)
HSVhsv(357, 79%, 60%)
CMYKcmyk(0%, 78.6%, 74.7%, 39.6%)
CIE-LABlab(34.20, 49.15, 27.99)
CIE-LCHlch(34.20, 56.56, 29.66°)
OKLaboklab(45.18% 0.1431 0.0633)
OKLCHoklch(45.18% 0.156 23.9)
XYZxyz(14.2382, 8.1065, 2.7341)
Luminance0.0810 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2127 #219A94
analogous
#9A2164 #9A2127 #9A5821
triadic
#9A2127 #279A21 #21279A
tetradic
#9A2127 #649A21 #219A94 #58219A
square
#9A2127 #649A21 #219A94 #58219A
split-complementary
#9A2127 #219A58 #21649A
monochromatic
#350B0D #68161A #9A2127 #CC2C34 #DC5A60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A2127#FFFFFF#000000##FFFFFF
##9A21271.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)
#464026
Deuteranopia (green-blind)
#645A23
Tritanopia (blue-blind)
#AA0025
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #9a2127;
/* rgb */ color: rgb(154, 33, 39);
/* oklch */ color: oklch(45.2% 0.156 23.9);
Tailwind
colors: {
  custom: {
    50: '#c06861',
    500: '#9a2127',
    950: '#000000',
  },
}
SCSS
$custom: #9a2127;
$custom-light: #c06861;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2127",
  "rgb": {
    "r": 154,
    "g": 33,
    "b": 39
  },
  "hsl": {
    "h": 357.025,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45183,
    "c": 0.15647,
    "h": 23.9
  },
  "luminance": 0.08104
}

Semantic roles & 50–950 ramp

primary
#9A2127
secondary
#57C0BB
accent
#E8DF40
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140705
muted
#827A79

Preview Lab

Preview with #9A2127

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

Preview Lab → · Contrast checker → · Palette generator →

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