#9F1834#9F1834

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

Color values

HEX#9F1834
RGBrgb(159, 24, 52)
HSLhsl(348, 74%, 36%)
HSVhsv(348, 85%, 62%)
CMYKcmyk(0%, 84.9%, 67.3%, 37.6%)
CIE-LABlab(34.55, 53.79, 20.43)
CIE-LCHlch(34.55, 57.54, 20.80°)
OKLaboklab(45.69% 0.1602 0.0485)
OKLCHoklch(45.69% 0.167 16.8)
XYZxyz(15.2463, 8.2745, 4.0425)
Luminance0.0827 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1834 #189F83
analogous
#9F1877 #9F1834 #9F4018
triadic
#9F1834 #349F18 #18349F
tetradic
#9F1834 #779F18 #189F83 #40189F
square
#9F1834 #779F18 #189F83 #40189F
split-complementary
#9F1834 #189F40 #18779F
monochromatic
#350811 #6A1023 #9F1834 #D42045 #E44D6D

Accessibility & contrast

On white

7.91
#9F1834 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1834
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1834#FFFFFF#000000##FFFFFF
##9F18341.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433F34
Deuteranopia (green-blind)
#645B30
Tritanopia (blue-blind)
#AF0025
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9f1834;
/* rgb */ color: rgb(159, 24, 52);
/* oklch */ color: oklch(45.7% 0.167 16.8);
Tailwind
colors: {
  custom: {
    50: '#c3666b',
    500: '#9f1834',
    950: '#000000',
  },
}
SCSS
$custom: #9f1834;
$custom-light: #c3666b;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1834",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 52
  },
  "hsl": {
    "h": 347.556,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45687,
    "c": 0.16739,
    "h": 16.8
  },
  "luminance": 0.08272
}

Semantic roles & 50–950 ramp

primary
#9F1834
secondary
#4DC6AD
accent
#F0CA37
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140706
muted
#837A7A

Preview Lab

Preview with #9F1834

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

Preview Lab → · Contrast checker → · Palette generator →

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