#9F213D#9F213D

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

Color values

HEX#9F213D
RGBrgb(159, 33, 61)
HSLhsl(347, 66%, 38%)
HSVhsv(347, 79%, 62%)
CMYKcmyk(0%, 79.2%, 61.6%, 37.6%)
CIE-LABlab(35.59, 51.88, 15.99)
CIE-LCHlch(35.59, 54.29, 17.13°)
OKLaboklab(46.52% 0.1559 0.0392)
OKLCHoklch(46.52% 0.161 14.1)
XYZxyz(15.6859, 8.7979, 5.2862)
Luminance0.0880 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F213D #219F83
analogous
#9F217C #9F213D #9F4421
triadic
#9F213D #3D9F21 #213D9F
tetradic
#9F213D #7C9F21 #219F83 #44219F
square
#9F213D #7C9F21 #219F83 #44219F
split-complementary
#9F213D #219F44 #217C9F
monochromatic
#3A0C16 #6C162A #9F213D #D22C50 #DD5D7A

Accessibility & contrast

On white

7.61
#9F213D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#9F213D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F213D
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F213D#FFFFFF#000000##FFFFFF
##9F213D1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45433D
Deuteranopia (green-blind)
#655D3A
Tritanopia (blue-blind)
#AE002D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f213d;
/* rgb */ color: rgb(159, 33, 61);
/* oklch */ color: oklch(46.5% 0.161 14.1);
Tailwind
colors: {
  custom: {
    50: '#c26972',
    500: '#9f213d',
    950: '#000000',
  },
}
SCSS
$custom: #9f213d;
$custom-light: #c26972;
$custom-dark: #000000;
JSON
{
  "hex": "#9f213d",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 61
  },
  "hsl": {
    "h": 346.667,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46515,
    "c": 0.16076,
    "h": 14.1
  },
  "luminance": 0.08796
}

Semantic roles & 50–950 ramp

primary
#9F213D
secondary
#5AC2AB
accent
#E9C33F
background
#FCF6F6
surface
#F9ECEC
border
#D2C7C7
text
#140707
muted
#827A7A

Preview Lab

Preview with #9F213D

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

Preview Lab → · Contrast checker → · Palette generator →

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