#9B2138#9B2138

#9B2138 is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.7% C 0.157 H 16.0°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#9B2138
RGBrgb(155, 33, 56)
HSLhsl(349, 65%, 37%)
HSVhsv(349, 79%, 61%)
CMYKcmyk(0%, 78.7%, 63.9%, 39.2%)
CIE-LABlab(34.69, 50.37, 17.87)
CIE-LCHlch(34.69, 53.44, 19.54°)
OKLaboklab(45.67% 0.1506 0.0432)
OKLCHoklch(45.67% 0.157 16)
XYZxyz(14.7768, 8.3440, 4.5731)
Luminance0.0834 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2138 #219B84
analogous
#9B2175 #9B2138 #9B4721
triadic
#9B2138 #389B21 #21389B
tetradic
#9B2138 #759B21 #219B84 #47219B
square
#9B2138 #759B21 #219B84 #47219B
split-complementary
#9B2138 #219B47 #21759B
monochromatic
#360C14 #691626 #9B2138 #CD2C4A #DC5A73

Accessibility & contrast

On white

7.87
#9B2138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#9B2138 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2138
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2138#FFFFFF#000000##FFFFFF
##9B21381.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444138
Deuteranopia (green-blind)
#635B35
Tritanopia (blue-blind)
#AA002B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9b2138;
/* rgb */ color: rgb(155, 33, 56);
/* oklch */ color: oklch(45.7% 0.157 16.0);
Tailwind
colors: {
  custom: {
    50: '#c0686e',
    500: '#9b2138',
    950: '#000000',
  },
}
SCSS
$custom: #9b2138;
$custom-light: #c0686e;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2138",
  "rgb": {
    "r": 155,
    "g": 33,
    "b": 56
  },
  "hsl": {
    "h": 348.689,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45671,
    "c": 0.15669,
    "h": 16
  },
  "luminance": 0.08342
}

Semantic roles & 50–950 ramp

primary
#9B2138
secondary
#58C0AC
accent
#E8C840
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140707
muted
#827A7A

Preview Lab

Preview with #9B2138

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

Preview Lab → · Contrast checker → · Palette generator →

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