#9F212D#9F212D

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

Color values

HEX#9F212D
RGBrgb(159, 33, 45)
HSLhsl(354, 66%, 38%)
HSVhsv(354, 79%, 62%)
CMYKcmyk(0%, 79.2%, 71.7%, 37.6%)
CIE-LABlab(35.30, 50.96, 25.81)
CIE-LCHlch(35.30, 57.13, 26.86°)
OKLaboklab(46.21% 0.1495 0.0595)
OKLCHoklch(46.21% 0.161 21.7)
XYZxyz(15.3173, 8.6505, 3.3453)
Luminance0.0865 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F212D #219F93
analogous
#9F216C #9F212D #9F5421
triadic
#9F212D #2D9F21 #212D9F
tetradic
#9F212D #6C9F21 #219F93 #54219F
square
#9F212D #6C9F21 #219F93 #54219F
split-complementary
#9F212D #219F54 #216C9F
monochromatic
#3A0C10 #6C161F #9F212D #D22C3B #DD5D69

Accessibility & contrast

On white

7.69
#9F212D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#9F212D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F212D
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F212D#FFFFFF#000000##FFFFFF
##9F212D1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47422C
Deuteranopia (green-blind)
#675D29
Tritanopia (blue-blind)
#AF0027
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f212d;
/* rgb */ color: rgb(159, 33, 45);
/* oklch */ color: oklch(46.2% 0.161 21.7);
Tailwind
colors: {
  custom: {
    50: '#c36966',
    500: '#9f212d',
    950: '#000000',
  },
}
SCSS
$custom: #9f212d;
$custom-light: #c36966;
$custom-dark: #000000;
JSON
{
  "hex": "#9f212d",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 45
  },
  "hsl": {
    "h": 354.286,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46207,
    "c": 0.16093,
    "h": 21.7
  },
  "luminance": 0.08648
}

Semantic roles & 50–950 ramp

primary
#9F212D
secondary
#5AC2B8
accent
#E9D83F
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140705
muted
#837A7A

Preview Lab

Preview with #9F212D

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

Preview Lab → · Contrast checker → · Palette generator →

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