#9F2F38#9F2F38

#9F2F38 is a mid, vivid red. Relative luminance 0.097; OKLCH L 47.7% C 0.147 H 20.3°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#9F2F38
RGBrgb(159, 47, 56)
HSLhsl(355, 54%, 40%)
HSVhsv(355, 70%, 62%)
CMYKcmyk(0%, 70.4%, 64.8%, 37.6%)
CIE-LABlab(37.28, 46.58, 21.38)
CIE-LCHlch(37.28, 51.25, 24.65°)
OKLaboklab(47.74% 0.138 0.0511)
OKLCHoklch(47.74% 0.147 20.3)
XYZxyz(16.0300, 9.6918, 4.7672)
Luminance0.0969 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2F38 #2F9F96
analogous
#9F2F70 #9F2F38 #9F5E2F
triadic
#9F2F38 #389F2F #2F389F
tetradic
#9F2F38 #709F2F #2F9F96 #5E2F9F
square
#9F2F38 #709F2F #2F9F96 #5E2F9F
split-complementary
#9F2F38 #2F9F5E #2F709F
monochromatic
#411317 #702127 #9F2F38 #C8444E #D6737B

Accessibility & contrast

On white

7.15
#9F2F38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9F2F38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2F38
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2F38#FFFFFF#000000##FFFFFF
##9F2F381.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4938
Deuteranopia (green-blind)
#6A6035
Tritanopia (blue-blind)
#AF1033
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f2f38;
/* rgb */ color: rgb(159, 47, 56);
/* oklch */ color: oklch(47.7% 0.147 20.3);
Tailwind
colors: {
  custom: {
    50: '#c26f6e',
    500: '#9f2f38',
    950: '#000000',
  },
}
SCSS
$custom: #9f2f38;
$custom-light: #c26f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2f38",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 56
  },
  "hsl": {
    "h": 355.179,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4774,
    "c": 0.14713,
    "h": 20.3
  },
  "luminance": 0.09689
}

Semantic roles & 50–950 ramp

primary
#9F2F38
secondary
#6DBDB7
accent
#DED24A
background
#FCF7F6
surface
#F9EDEB
border
#D2C8C6
text
#140807
muted
#827B7A

Preview Lab

Preview with #9F2F38

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

Preview Lab → · Contrast checker → · Palette generator →

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