#9F1838#9F1838

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

Color values

HEX#9F1838
RGBrgb(159, 24, 56)
HSLhsl(346, 74%, 36%)
HSVhsv(346, 85%, 62%)
CMYKcmyk(0%, 84.9%, 64.8%, 37.6%)
CIE-LABlab(34.62, 54.02, 17.95)
CIE-LCHlch(34.62, 56.92, 18.38°)
OKLaboklab(45.77% 0.1618 0.0433)
OKLCHoklch(45.77% 0.168 15)
XYZxyz(15.3402, 8.3121, 4.5373)
Luminance0.0831 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1838 #189F7F
analogous
#9F187B #9F1838 #9F3C18
triadic
#9F1838 #389F18 #18389F
tetradic
#9F1838 #7B9F18 #189F7F #3C189F
square
#9F1838 #7B9F18 #189F7F #3C189F
split-complementary
#9F1838 #189F3C #187B9F
monochromatic
#350813 #6A1025 #9F1838 #D4204B #E44D71

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F1838#FFFFFF#000000##FFFFFF
##9F18381.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)
#424038
Deuteranopia (green-blind)
#645B34
Tritanopia (blue-blind)
#AF0027
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9f1838;
/* rgb */ color: rgb(159, 24, 56);
/* oklch */ color: oklch(45.8% 0.168 15.0);
Tailwind
colors: {
  custom: {
    50: '#c3666e',
    500: '#9f1838',
    950: '#000000',
  },
}
SCSS
$custom: #9f1838;
$custom-light: #c3666e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1838",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 56
  },
  "hsl": {
    "h": 345.778,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45768,
    "c": 0.16751,
    "h": 15
  },
  "luminance": 0.0831
}

Semantic roles & 50–950 ramp

primary
#9F1838
secondary
#4DC6A9
accent
#F0C537
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140707
muted
#827A7A

Preview Lab

Preview with #9F1838

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

Preview Lab → · Contrast checker → · Palette generator →

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