#9F232A#9F232A

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

Color values

HEX#9F232A
RGBrgb(159, 35, 42)
HSLhsl(357, 64%, 38%)
HSVhsv(357, 78%, 62%)
CMYKcmyk(0%, 78%, 73.6%, 37.6%)
CIE-LABlab(35.48, 50.19, 27.89)
CIE-LCHlch(35.48, 57.42, 29.06°)
OKLaboklab(46.33% 0.1464 0.0634)
OKLCHoklch(46.33% 0.16 23.4)
XYZxyz(15.3188, 8.7425, 3.0709)
Luminance0.0874 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F232A #239F98
analogous
#9F2368 #9F232A #9F5A23
triadic
#9F232A #2A9F23 #232A9F
tetradic
#9F232A #689F23 #239F98 #5A239F
square
#9F232A #689F23 #239F98 #5A239F
split-complementary
#9F232A #239F5A #23689F
monochromatic
#3B0D10 #6D181D #9F232A #D12E37 #DC6067

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F232A#FFFFFF#000000##FFFFFF
##9F232A1.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)
#494229
Deuteranopia (green-blind)
#675D26
Tritanopia (blue-blind)
#AF0027
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f232a;
/* rgb */ color: rgb(159, 35, 42);
/* oklch */ color: oklch(46.3% 0.160 23.4);
Tailwind
colors: {
  custom: {
    50: '#c46963',
    500: '#9f232a',
    950: '#000000',
  },
}
SCSS
$custom: #9f232a;
$custom-light: #c46963;
$custom-dark: #000000;
JSON
{
  "hex": "#9f232a",
  "rgb": {
    "r": 159,
    "g": 35,
    "b": 42
  },
  "hsl": {
    "h": 356.613,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46328,
    "c": 0.15955,
    "h": 23.4
  },
  "luminance": 0.0874
}

Semantic roles & 50–950 ramp

primary
#9F232A
secondary
#5DC1BB
accent
#E7DE41
background
#FDF6F5
surface
#FAECEA
border
#D3C7C6
text
#140705
muted
#837A79

Preview Lab

Preview with #9F232A

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

Preview Lab → · Contrast checker → · Palette generator →

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