#9B223B#9B223B

#9B223B is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.8% C 0.156 H 14.7°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#9B223B
RGBrgb(155, 34, 59)
HSLhsl(348, 64%, 37%)
HSVhsv(348, 78%, 61%)
CMYKcmyk(0%, 78.1%, 61.9%, 39.2%)
CIE-LABlab(34.86, 50.24, 16.17)
CIE-LCHlch(34.86, 52.78, 17.84°)
OKLaboklab(45.82% 0.1508 0.0395)
OKLCHoklch(45.82% 0.156 14.7)
XYZxyz(14.8806, 8.4306, 4.9805)
Luminance0.0843 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B223B #229B82
analogous
#9B2278 #9B223B #9B4522
triadic
#9B223B #3B9B22 #223B9B
tetradic
#9B223B #789B22 #229B82 #45229B
square
#9B223B #789B22 #229B82 #45229B
split-complementary
#9B223B #229B45 #22789B
monochromatic
#370C15 #691728 #9B223B #CD2D4E #DB5C76

Accessibility & contrast

On white

7.82
#9B223B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B223B
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B223B#FFFFFF#000000##FFFFFF
##9B223B1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44423B
Deuteranopia (green-blind)
#635B38
Tritanopia (blue-blind)
#AA002D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9b223b;
/* rgb */ color: rgb(155, 34, 59);
/* oklch */ color: oklch(45.8% 0.156 14.7);
Tailwind
colors: {
  custom: {
    50: '#bf6970',
    500: '#9b223b',
    950: '#000000',
  },
}
SCSS
$custom: #9b223b;
$custom-light: #bf6970;
$custom-dark: #000000;
JSON
{
  "hex": "#9b223b",
  "rgb": {
    "r": 155,
    "g": 34,
    "b": 59
  },
  "hsl": {
    "h": 347.603,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4582,
    "c": 0.1559,
    "h": 14.7
  },
  "luminance": 0.08428
}

Semantic roles & 50–950 ramp

primary
#9B223B
secondary
#59C0AB
accent
#E7C541
background
#FCF6F6
surface
#F8EBEC
border
#D1C6C7
text
#130707
muted
#827A7A

Preview Lab

Preview with #9B223B

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

Preview Lab → · Contrast checker → · Palette generator →

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