#9F1830#9F1830

#9F1830 is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.6% C 0.167 H 18.6°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#9F1830
RGBrgb(159, 24, 48)
HSLhsl(349, 74%, 36%)
HSVhsv(349, 85%, 62%)
CMYKcmyk(0%, 84.9%, 69.8%, 37.6%)
CIE-LABlab(34.48, 53.58, 22.91)
CIE-LCHlch(34.48, 58.27, 23.15°)
OKLaboklab(45.61% 0.1586 0.0535)
OKLCHoklch(45.61% 0.167 18.6)
XYZxyz(15.1600, 8.2400, 3.5880)
Luminance0.0824 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1830 #189F87
analogous
#9F1873 #9F1830 #9F4318
triadic
#9F1830 #309F18 #18309F
tetradic
#9F1830 #739F18 #189F87 #43189F
square
#9F1830 #739F18 #189F87 #43189F
split-complementary
#9F1830 #189F43 #18739F
monochromatic
#350810 #6A1020 #9F1830 #D42040 #E44D68

Accessibility & contrast

On white

7.93
#9F1830 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1830
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1830#FFFFFF#000000##FFFFFF
##9F18301.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433F30
Deuteranopia (green-blind)
#645B2C
Tritanopia (blue-blind)
#AF0023
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9f1830;
/* rgb */ color: rgb(159, 24, 48);
/* oklch */ color: oklch(45.6% 0.167 18.6);
Tailwind
colors: {
  custom: {
    50: '#c36668',
    500: '#9f1830',
    950: '#000000',
  },
}
SCSS
$custom: #9f1830;
$custom-light: #c36668;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1830",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 48
  },
  "hsl": {
    "h": 349.333,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45612,
    "c": 0.16742,
    "h": 18.6
  },
  "luminance": 0.08238
}

Semantic roles & 50–950 ramp

primary
#9F1830
secondary
#4DC6B1
accent
#F0D037
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140706
muted
#837A7A

Preview Lab

Preview with #9F1830

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

Preview Lab → · Contrast checker → · Palette generator →

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