#9F2127#9F2127

#9F2127 is a mid, vivid red. Relative luminance 0.086; OKLCH L 46.1% C 0.161 H 24.2°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#9F2127
RGBrgb(159, 33, 39)
HSLhsl(357, 66%, 38%)
HSVhsv(357, 79%, 62%)
CMYKcmyk(0%, 79.2%, 75.5%, 37.6%)
CIE-LABlab(35.22, 50.69, 29.42)
CIE-LCHlch(35.22, 58.61, 30.13°)
OKLaboklab(46.12% 0.1473 0.0661)
OKLCHoklch(46.12% 0.161 24.2)
XYZxyz(15.2099, 8.6075, 2.7796)
Luminance0.0861 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2127 #219F99
analogous
#9F2166 #9F2127 #9F5A21
triadic
#9F2127 #279F21 #21279F
tetradic
#9F2127 #669F21 #219F99 #5A219F
square
#9F2127 #669F21 #219F99 #5A219F
split-complementary
#9F2127 #219F5A #21669F
monochromatic
#3A0C0E #6C161B #9F2127 #D22C33 #DD5D63

Accessibility & contrast

On white

7.72
#9F2127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#9F2127 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2127
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2127#FFFFFF#000000##FFFFFF
##9F21271.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484226
Deuteranopia (green-blind)
#675D22
Tritanopia (blue-blind)
#AF0025
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f2127;
/* rgb */ color: rgb(159, 33, 39);
/* oklch */ color: oklch(46.1% 0.161 24.2);
Tailwind
colors: {
  custom: {
    50: '#c46961',
    500: '#9f2127',
    950: '#000000',
  },
}
SCSS
$custom: #9f2127;
$custom-light: #c46961;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2127",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 39
  },
  "hsl": {
    "h": 357.143,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46117,
    "c": 0.16146,
    "h": 24.2
  },
  "luminance": 0.08605
}

Semantic roles & 50–950 ramp

primary
#9F2127
secondary
#5AC2BD
accent
#E9E13F
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140705
muted
#837A79

Preview Lab

Preview with #9F2127

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

Preview Lab → · Contrast checker → · Palette generator →

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