#9F2231#9F2231

#9F2231 is a mid, vivid red. Relative luminance 0.087; OKLCH L 46.4% C 0.160 H 20.1°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#9F2231
RGBrgb(159, 34, 49)
HSLhsl(353, 65%, 38%)
HSVhsv(353, 79%, 62%)
CMYKcmyk(0%, 78.6%, 69.2%, 37.6%)
CIE-LABlab(35.48, 50.85, 23.51)
CIE-LCHlch(35.48, 56.02, 24.81°)
OKLaboklab(46.36% 0.1501 0.055)
OKLCHoklch(46.36% 0.16 20.1)
XYZxyz(15.4262, 8.7391, 3.7797)
Luminance0.0874 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2231 #229F90
analogous
#9F226F #9F2231 #9F5122
triadic
#9F2231 #319F22 #22319F
tetradic
#9F2231 #6F9F22 #229F90 #51229F
square
#9F2231 #6F9F22 #229F90 #51229F
split-complementary
#9F2231 #229F51 #226F9F
monochromatic
#3A0C12 #6D1721 #9F2231 #D12D41 #DD5F6E

Accessibility & contrast

On white

7.64
#9F2231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#9F2231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2231
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2231#FFFFFF#000000##FFFFFF
##9F22311.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f2231;
/* rgb */ color: rgb(159, 34, 49);
/* oklch */ color: oklch(46.4% 0.160 20.1);
Tailwind
colors: {
  custom: {
    50: '#c36969',
    500: '#9f2231',
    950: '#000000',
  },
}
SCSS
$custom: #9f2231;
$custom-light: #c36969;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2231",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 49
  },
  "hsl": {
    "h": 352.8,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46357,
    "c": 0.15987,
    "h": 20.1
  },
  "luminance": 0.08737
}

Semantic roles & 50–950 ramp

primary
#9F2231
secondary
#5BC1B5
accent
#E8D440
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#140706
muted
#837A7A

Preview Lab

Preview with #9F2231

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

Preview Lab → · Contrast checker → · Palette generator →

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