#9B2240#9B2240

#9B2240 is a mid, vivid red. Relative luminance 0.085; OKLCH L 45.9% C 0.156 H 12.0°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#9B2240
RGBrgb(155, 34, 64)
HSLhsl(345, 64%, 37%)
HSVhsv(345, 78%, 61%)
CMYKcmyk(0%, 78.1%, 58.7%, 39.2%)
CIE-LABlab(34.97, 50.59, 13.08)
CIE-LCHlch(34.97, 52.25, 14.50°)
OKLaboklab(45.94% 0.1528 0.0326)
OKLCHoklch(45.94% 0.156 12)
XYZxyz(15.0165, 8.4850, 5.6965)
Luminance0.0848 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2240 #229B7D
analogous
#9B227D #9B2240 #9B4122
triadic
#9B2240 #409B22 #22409B
tetradic
#9B2240 #7D9B22 #229B7D #41229B
square
#9B2240 #7D9B22 #229B7D #41229B
split-complementary
#9B2240 #229B41 #227D9B
monochromatic
#370C17 #69172B #9B2240 #CD2D55 #DB5C7C

Accessibility & contrast

On white

7.79
#9B2240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#9B2240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2240
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2240#FFFFFF#000000##FFFFFF
##9B22401.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434240
Deuteranopia (green-blind)
#625B3D
Tritanopia (blue-blind)
#AA002F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9b2240;
/* rgb */ color: rgb(155, 34, 64);
/* oklch */ color: oklch(45.9% 0.156 12.0);
Tailwind
colors: {
  custom: {
    50: '#bf6974',
    500: '#9b2240',
    950: '#000000',
  },
}
SCSS
$custom: #9b2240;
$custom-light: #bf6974;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2240",
  "rgb": {
    "r": 155,
    "g": 34,
    "b": 64
  },
  "hsl": {
    "h": 345.124,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45936,
    "c": 0.15626,
    "h": 12
  },
  "luminance": 0.08483
}

Semantic roles & 50–950 ramp

primary
#9B2240
secondary
#59C0A6
accent
#E7BE41
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #9B2240

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

Preview Lab → · Contrast checker → · Palette generator →

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