#9F2F42#9F2F42

#9F2F42 is a mid, vivid red. Relative luminance 0.098; OKLCH L 47.9% C 0.147 H 14.9°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#9F2F42
RGBrgb(159, 47, 66)
HSLhsl(350, 54%, 40%)
HSVhsv(350, 70%, 62%)
CMYKcmyk(0%, 70.4%, 58.5%, 37.6%)
CIE-LABlab(37.48, 47.27, 15.32)
CIE-LCHlch(37.48, 49.69, 17.96°)
OKLaboklab(47.95% 0.142 0.0379)
OKLCHoklch(47.95% 0.147 14.9)
XYZxyz(16.2995, 9.7996, 6.1864)
Luminance0.0980 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2F42 #2F9F8C
analogous
#9F2F7A #9F2F42 #9F542F
triadic
#9F2F42 #429F2F #2F429F
tetradic
#9F2F42 #7A9F2F #2F9F8C #542F9F
square
#9F2F42 #7A9F2F #2F9F8C #542F9F
split-complementary
#9F2F42 #2F9F54 #2F7A9F
monochromatic
#41131B #70212E #9F2F42 #C8445A #D67384

Accessibility & contrast

On white

7.10
#9F2F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9F2F42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2F42
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2F42#FFFFFF#000000##FFFFFF
##9F2F421.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4942
Deuteranopia (green-blind)
#68613F
Tritanopia (blue-blind)
#AE1537
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f2f42;
/* rgb */ color: rgb(159, 47, 66);
/* oklch */ color: oklch(47.9% 0.147 14.9);
Tailwind
colors: {
  custom: {
    50: '#c16f76',
    500: '#9f2f42',
    950: '#000000',
  },
}
SCSS
$custom: #9f2f42;
$custom-light: #c16f76;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2f42",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 66
  },
  "hsl": {
    "h": 349.821,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4795,
    "c": 0.147,
    "h": 14.9
  },
  "luminance": 0.09797
}

Semantic roles & 50–950 ramp

primary
#9F2F42
secondary
#6DBDB0
accent
#DEC54A
background
#FCF7F7
surface
#F9EDED
border
#D2C8C8
text
#130808
muted
#827B7B

Preview Lab

Preview with #9F2F42

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

Preview Lab → · Contrast checker → · Palette generator →

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