#9F1933#9F1933

#9F1933 is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.7% C 0.167 H 17.5°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#9F1933
RGBrgb(159, 25, 51)
HSLhsl(348, 73%, 36%)
HSVhsv(348, 84%, 62%)
CMYKcmyk(0%, 84.3%, 67.9%, 37.6%)
CIE-LABlab(34.62, 53.49, 21.16)
CIE-LCHlch(34.62, 57.53, 21.58°)
OKLaboklab(45.73% 0.159 0.05)
OKLCHoklch(45.73% 0.167 17.5)
XYZxyz(15.2450, 8.3076, 3.9321)
Luminance0.0830 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1933 #199F85
analogous
#9F1976 #9F1933 #9F4219
triadic
#9F1933 #339F19 #19339F
tetradic
#9F1933 #769F19 #199F85 #42199F
square
#9F1933 #769F19 #199F85 #42199F
split-complementary
#9F1933 #199F42 #19769F
monochromatic
#350811 #6A1122 #9F1933 #D42144 #E34F6C

Accessibility & contrast

On white

7.89
#9F1933 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#9F1933 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1933
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1933#FFFFFF#000000##FFFFFF
##9F19331.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434033
Deuteranopia (green-blind)
#645B2F
Tritanopia (blue-blind)
#AF0025
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9f1933;
/* rgb */ color: rgb(159, 25, 51);
/* oklch */ color: oklch(45.7% 0.167 17.5);
Tailwind
colors: {
  custom: {
    50: '#c3666a',
    500: '#9f1933',
    950: '#000000',
  },
}
SCSS
$custom: #9f1933;
$custom-light: #c3666a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1933",
  "rgb": {
    "r": 159,
    "g": 25,
    "b": 51
  },
  "hsl": {
    "h": 348.358,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45731,
    "c": 0.16671,
    "h": 17.5
  },
  "luminance": 0.08305
}

Semantic roles & 50–950 ramp

primary
#9F1933
secondary
#4EC6AE
accent
#F0CC38
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140706
muted
#837A7A

Preview Lab

Preview with #9F1933

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

Preview Lab → · Contrast checker → · Palette generator →

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