#9A2138#9A2138

#9A2138 is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.5% C 0.156 H 15.9°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#9A2138
RGBrgb(154, 33, 56)
HSLhsl(349, 65%, 37%)
HSVhsv(349, 79%, 60%)
CMYKcmyk(0%, 78.6%, 63.6%, 39.6%)
CIE-LABlab(34.49, 50.07, 17.57)
CIE-LCHlch(34.49, 53.06, 19.34°)
OKLaboklab(45.49% 0.1498 0.0426)
OKLCHoklch(45.49% 0.156 15.9)
XYZxyz(14.5856, 8.2454, 4.5641)
Luminance0.0824 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2138 #219A83
analogous
#9A2175 #9A2138 #9A4721
triadic
#9A2138 #389A21 #21389A
tetradic
#9A2138 #759A21 #219A83 #47219A
square
#9A2138 #759A21 #219A83 #47219A
split-complementary
#9A2138 #219A47 #21759A
monochromatic
#350B13 #681626 #9A2138 #CC2C4A #DC5A72

Accessibility & contrast

On white

7.93
#9A2138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#9A2138 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2138
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2138#FFFFFF#000000##FFFFFF
##9A21381.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444138
Deuteranopia (green-blind)
#625A35
Tritanopia (blue-blind)
#A9002B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9a2138;
/* rgb */ color: rgb(154, 33, 56);
/* oklch */ color: oklch(45.5% 0.156 15.9);
Tailwind
colors: {
  custom: {
    50: '#bf686e',
    500: '#9a2138',
    950: '#000000',
  },
}
SCSS
$custom: #9a2138;
$custom-light: #bf686e;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2138",
  "rgb": {
    "r": 154,
    "g": 33,
    "b": 56
  },
  "hsl": {
    "h": 348.595,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45487,
    "c": 0.15571,
    "h": 15.9
  },
  "luminance": 0.08243
}

Semantic roles & 50–950 ramp

primary
#9A2138
secondary
#57C0AC
accent
#E8C840
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130707
muted
#827A7A

Preview Lab

Preview with #9A2138

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

Preview Lab → · Contrast checker → · Palette generator →

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