#9F2131#9F2131

#9F2131 is a mid, vivid red. Relative luminance 0.087; OKLCH L 46.3% C 0.161 H 19.9°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#9F2131
RGBrgb(159, 33, 49)
HSLhsl(352, 66%, 38%)
HSVhsv(352, 79%, 62%)
CMYKcmyk(0%, 79.2%, 69.2%, 37.6%)
CIE-LABlab(35.37, 51.16, 23.37)
CIE-LCHlch(35.37, 56.25, 24.55°)
OKLaboklab(46.28% 0.1511 0.0547)
OKLCHoklch(46.28% 0.161 19.9)
XYZxyz(15.3980, 8.6828, 3.7703)
Luminance0.0868 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2131 #219F8F
analogous
#9F2170 #9F2131 #9F5021
triadic
#9F2131 #319F21 #21319F
tetradic
#9F2131 #709F21 #219F8F #50219F
square
#9F2131 #709F21 #219F8F #50219F
split-complementary
#9F2131 #219F50 #21709F
monochromatic
#3A0C12 #6C1621 #9F2131 #D22C41 #DD5D6D

Accessibility & contrast

On white

7.68
#9F2131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#9F2131 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2131
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2131#FFFFFF#000000##FFFFFF
##9F21311.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474231
Deuteranopia (green-blind)
#665D2D
Tritanopia (blue-blind)
#AF0028
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f2131;
/* rgb */ color: rgb(159, 33, 49);
/* oklch */ color: oklch(46.3% 0.161 19.9);
Tailwind
colors: {
  custom: {
    50: '#c36969',
    500: '#9f2131',
    950: '#000000',
  },
}
SCSS
$custom: #9f2131;
$custom-light: #c36969;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2131",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 49
  },
  "hsl": {
    "h": 352.381,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46275,
    "c": 0.1607,
    "h": 19.9
  },
  "luminance": 0.0868
}

Semantic roles & 50–950 ramp

primary
#9F2131
secondary
#5AC2B5
accent
#E9D33F
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140706
muted
#837A7A

Preview Lab

Preview with #9F2131

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

Preview Lab → · Contrast checker → · Palette generator →

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