#9C2138#9C2138

#9C2138 is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.9% C 0.158 H 16.2°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#9C2138
RGBrgb(156, 33, 56)
HSLhsl(349, 65%, 37%)
HSVhsv(349, 79%, 61%)
CMYKcmyk(0%, 78.8%, 64.1%, 38.8%)
CIE-LABlab(34.89, 50.67, 18.17)
CIE-LCHlch(34.89, 53.83, 19.73°)
OKLaboklab(45.86% 0.1514 0.0439)
OKLCHoklch(45.86% 0.158 16.2)
XYZxyz(14.9696, 8.4434, 4.5821)
Luminance0.0844 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2138 #219C85
analogous
#9C2176 #9C2138 #9C4721
triadic
#9C2138 #389C21 #21389C
tetradic
#9C2138 #769C21 #219C85 #47219C
square
#9C2138 #769C21 #219C85 #47219C
split-complementary
#9C2138 #219C47 #21769C
monochromatic
#370C14 #691626 #9C2138 #CF2C4A #DC5B73

Accessibility & contrast

On white

7.81
#9C2138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#9C2138 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C2138
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2138#FFFFFF#000000##FFFFFF
##9C21381.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444238
Deuteranopia (green-blind)
#645B35
Tritanopia (blue-blind)
#AB002B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9c2138;
/* rgb */ color: rgb(156, 33, 56);
/* oklch */ color: oklch(45.9% 0.158 16.2);
Tailwind
colors: {
  custom: {
    50: '#c0696e',
    500: '#9c2138',
    950: '#000000',
  },
}
SCSS
$custom: #9c2138;
$custom-light: #c0696e;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2138",
  "rgb": {
    "r": 156,
    "g": 33,
    "b": 56
  },
  "hsl": {
    "h": 348.78,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45855,
    "c": 0.15767,
    "h": 16.2
  },
  "luminance": 0.08441
}

Semantic roles & 50–950 ramp

primary
#9C2138
secondary
#58C1AD
accent
#E8C940
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140707
muted
#827A7A

Preview Lab

Preview with #9C2138

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

Preview Lab → · Contrast checker → · Palette generator →

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