#9F1833#9F1833

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

Color values

HEX#9F1833
RGBrgb(159, 24, 51)
HSLhsl(348, 74%, 36%)
HSVhsv(348, 85%, 62%)
CMYKcmyk(0%, 84.9%, 67.9%, 37.6%)
CIE-LABlab(34.53, 53.74, 21.05)
CIE-LCHlch(34.53, 57.71, 21.39°)
OKLaboklab(45.67% 0.1598 0.0498)
OKLCHoklch(45.67% 0.167 17.3)
XYZxyz(15.2240, 8.2656, 3.9251)
Luminance0.0826 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1833 #189F84
analogous
#9F1876 #9F1833 #9F4018
triadic
#9F1833 #339F18 #18339F
tetradic
#9F1833 #769F18 #189F84 #40189F
square
#9F1833 #769F18 #189F84 #40189F
split-complementary
#9F1833 #189F40 #18769F
monochromatic
#350811 #6A1022 #9F1833 #D42044 #E44D6B

Accessibility & contrast

On white

7.92
#9F1833 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#9F1833 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1833
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1833#FFFFFF#000000##FFFFFF
##9F18331.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433F33
Deuteranopia (green-blind)
#645B2F
Tritanopia (blue-blind)
#AF0024
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9f1833;
/* rgb */ color: rgb(159, 24, 51);
/* oklch */ color: oklch(45.7% 0.167 17.3);
Tailwind
colors: {
  custom: {
    50: '#c3666a',
    500: '#9f1833',
    950: '#000000',
  },
}
SCSS
$custom: #9f1833;
$custom-light: #c3666a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1833",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 51
  },
  "hsl": {
    "h": 348,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45668,
    "c": 0.1674,
    "h": 17.3
  },
  "luminance": 0.08263
}

Semantic roles & 50–950 ramp

primary
#9F1833
secondary
#4DC6AE
accent
#F0CB37
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140706
muted
#837A7A

Preview Lab

Preview with #9F1833

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

Preview Lab → · Contrast checker → · Palette generator →

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