#9F242F#9F242F

#9F242F is a mid, vivid red. Relative luminance 0.088; OKLCH L 46.5% C 0.158 H 21.5°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#9F242F
RGBrgb(159, 36, 47)
HSLhsl(355, 63%, 38%)
HSVhsv(355, 77%, 62%)
CMYKcmyk(0%, 77.4%, 70.4%, 37.6%)
CIE-LABlab(35.67, 50.10, 25.01)
CIE-LCHlch(35.67, 56.00, 26.53°)
OKLaboklab(46.49% 0.1473 0.0581)
OKLCHoklch(46.49% 0.158 21.5)
XYZxyz(15.4438, 8.8403, 3.5819)
Luminance0.0884 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F242F #249F94
analogous
#9F246C #9F242F #9F5624
triadic
#9F242F #2F9F24 #242F9F
tetradic
#9F242F #6C9F24 #249F94 #56249F
square
#9F242F #6C9F24 #249F94 #56249F
split-complementary
#9F242F #249F56 #246C9F
monochromatic
#3B0D11 #6D1920 #9F242F #D0303E #DB626D

Accessibility & contrast

On white

7.59
#9F242F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#9F242F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F242F
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F242F#FFFFFF#000000##FFFFFF
##9F242F1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48432E
Deuteranopia (green-blind)
#675D2B
Tritanopia (blue-blind)
#AF0029
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f242f;
/* rgb */ color: rgb(159, 36, 47);
/* oklch */ color: oklch(46.5% 0.158 21.5);
Tailwind
colors: {
  custom: {
    50: '#c36a67',
    500: '#9f242f',
    950: '#000000',
  },
}
SCSS
$custom: #9f242f;
$custom-light: #c36a67;
$custom-dark: #000000;
JSON
{
  "hex": "#9f242f",
  "rgb": {
    "r": 159,
    "g": 36,
    "b": 47
  },
  "hsl": {
    "h": 354.634,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46494,
    "c": 0.15829,
    "h": 21.5
  },
  "luminance": 0.08838
}

Semantic roles & 50–950 ramp

primary
#9F242F
secondary
#5EC1B8
accent
#E6D742
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#140706
muted
#837A7A

Preview Lab

Preview with #9F242F

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

Preview Lab → · Contrast checker → · Palette generator →

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