#9F213B#9F213B

#9F213B is a mid, vivid red. Relative luminance 0.088; OKLCH L 46.5% C 0.161 H 15.1°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#9F213B
RGBrgb(159, 33, 59)
HSLhsl(348, 66%, 38%)
HSVhsv(348, 79%, 62%)
CMYKcmyk(0%, 79.2%, 62.9%, 37.6%)
CIE-LABlab(35.55, 51.75, 17.22)
CIE-LCHlch(35.55, 54.54, 18.41°)
OKLaboklab(46.47% 0.1551 0.0419)
OKLCHoklch(46.47% 0.161 15.1)
XYZxyz(15.6330, 8.7768, 5.0077)
Luminance0.0877 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F213B #219F85
analogous
#9F217A #9F213B #9F4621
triadic
#9F213B #3B9F21 #213B9F
tetradic
#9F213B #7A9F21 #219F85 #46219F
square
#9F213B #7A9F21 #219F85 #46219F
split-complementary
#9F213B #219F46 #217A9F
monochromatic
#3A0C15 #6C1628 #9F213B #D22C4E #DD5D78

Accessibility & contrast

On white

7.62
#9F213B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#9F213B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F213B
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F213B#FFFFFF#000000##FFFFFF
##9F213B1.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45433B
Deuteranopia (green-blind)
#655D38
Tritanopia (blue-blind)
#AF002C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f213b;
/* rgb */ color: rgb(159, 33, 59);
/* oklch */ color: oklch(46.5% 0.161 15.1);
Tailwind
colors: {
  custom: {
    50: '#c26970',
    500: '#9f213b',
    950: '#000000',
  },
}
SCSS
$custom: #9f213b;
$custom-light: #c26970;
$custom-dark: #000000;
JSON
{
  "hex": "#9f213b",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 59
  },
  "hsl": {
    "h": 347.619,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46471,
    "c": 0.16066,
    "h": 15.1
  },
  "luminance": 0.08774
}

Semantic roles & 50–950 ramp

primary
#9F213B
secondary
#5AC2AC
accent
#E9C63F
background
#FCF6F6
surface
#F9ECEC
border
#D2C7C7
text
#140707
muted
#827A7A

Preview Lab

Preview with #9F213B

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

Preview Lab → · Contrast checker → · Palette generator →

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