#9F312E#9F312E

#9F312E is a mid, vivid red. Relative luminance 0.098; OKLCH L 47.8% C 0.146 H 25.9°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#9F312E
RGBrgb(159, 49, 46)
HSLhsl(2, 55%, 40%)
HSVhsv(2, 71%, 62%)
CMYKcmyk(0%, 69.2%, 71.1%, 37.6%)
CIE-LABlab(37.42, 45.19, 27.72)
CIE-LCHlch(37.42, 53.01, 31.53°)
OKLaboklab(47.79% 0.1314 0.0639)
OKLCHoklch(47.79% 0.146 25.9)
XYZxyz(15.8912, 9.7671, 3.6327)
Luminance0.0977 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F312E #2E9C9F
analogous
#9F2E63 #9F312E #9F692E
triadic
#9F312E #2E9F31 #312E9F
tetradic
#9F312E #639F2E #2E9C9F #692E9F
square
#9F312E #639F2E #2E9C9F #692E9F
split-complementary
#9F312E #2E9F69 #2E639F
monochromatic
#401413 #702220 #9F312E #C84542 #D67471

Accessibility & contrast

On white

7.11
#9F312E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#9F312E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F312E
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F312E#FFFFFF#000000##FFFFFF
##9F312E1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50492D
Deuteranopia (green-blind)
#6B612B
Tritanopia (blue-blind)
#AF1131
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f312e;
/* rgb */ color: rgb(159, 49, 46);
/* oklch */ color: oklch(47.8% 0.146 25.9);
Tailwind
colors: {
  custom: {
    50: '#c37067',
    500: '#9f312e',
    950: '#000000',
  },
}
SCSS
$custom: #9f312e;
$custom-light: #c37067;
$custom-dark: #000000;
JSON
{
  "hex": "#9f312e",
  "rgb": {
    "r": 159,
    "g": 49,
    "b": 46
  },
  "hsl": {
    "h": 1.593,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47791,
    "c": 0.14613,
    "h": 25.9
  },
  "luminance": 0.09765
}

Semantic roles & 50–950 ramp

primary
#9F312E
secondary
#6BBBBE
accent
#DADE49
background
#FCF7F6
surface
#F9EDEB
border
#D2C8C6
text
#140806
muted
#827B7A

Preview Lab

Preview with #9F312E

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

Preview Lab → · Contrast checker → · Palette generator →

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