#9F2731#9F2731

#9F2731 is a mid, vivid red. Relative luminance 0.090; OKLCH L 46.8% C 0.155 H 21.4°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#9F2731
RGBrgb(159, 39, 49)
HSLhsl(355, 61%, 39%)
HSVhsv(355, 75%, 62%)
CMYKcmyk(0%, 75.5%, 69.2%, 37.6%)
CIE-LABlab(36.07, 49.19, 24.25)
CIE-LCHlch(36.07, 54.84, 26.24°)
OKLaboklab(46.8% 0.1448 0.0567)
OKLCHoklch(46.8% 0.155 21.4)
XYZxyz(15.5797, 9.0461, 3.8308)
Luminance0.0904 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2731 #279F95
analogous
#9F276D #9F2731 #9F5927
triadic
#9F2731 #319F27 #27319F
tetradic
#9F2731 #6D9F27 #279F95 #59279F
square
#9F2731 #6D9F27 #279F95 #59279F
split-complementary
#9F2731 #279F59 #276D9F
monochromatic
#3D0F13 #6E1B22 #9F2731 #CE3642 #DA6770

Accessibility & contrast

On white

7.48
#9F2731 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#9F2731 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2731
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2731#FFFFFF#000000##FFFFFF
##9F27311.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4530
Deuteranopia (green-blind)
#685E2D
Tritanopia (blue-blind)
#AF002C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9f2731;
/* rgb */ color: rgb(159, 39, 49);
/* oklch */ color: oklch(46.8% 0.155 21.4);
Tailwind
colors: {
  custom: {
    50: '#c36b69',
    500: '#9f2731',
    950: '#000000',
  },
}
SCSS
$custom: #9f2731;
$custom-light: #c36b69;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2731",
  "rgb": {
    "r": 159,
    "g": 39,
    "b": 49
  },
  "hsl": {
    "h": 355,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.468,
    "c": 0.15548,
    "h": 21.4
  },
  "luminance": 0.09044
}

Semantic roles & 50–950 ramp

primary
#9F2731
secondary
#62C0B8
accent
#E4D644
background
#FCF6F6
surface
#F9ECEB
border
#D2C7C6
text
#140706
muted
#827A7A

Preview Lab

Preview with #9F2731

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

Preview Lab → · Contrast checker → · Palette generator →

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