#9F2A3D#9F2A3D

#9F2A3D is a mid, vivid red. Relative luminance 0.094; OKLCH L 47.3% C 0.152 H 16.2°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#9F2A3D
RGBrgb(159, 42, 61)
HSLhsl(350, 58%, 39%)
HSVhsv(350, 74%, 62%)
CMYKcmyk(0%, 73.6%, 61.6%, 37.6%)
CIE-LABlab(36.68, 48.84, 17.43)
CIE-LCHlch(36.68, 51.85, 19.64°)
OKLaboklab(47.32% 0.1461 0.0425)
OKLCHoklch(47.32% 0.152 16.2)
XYZxyz(15.9700, 9.3661, 5.3809)
Luminance0.0936 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2A3D #2A9F8C
analogous
#9F2A78 #9F2A3D #9F512A
triadic
#9F2A3D #3D9F2A #2A3D9F
tetradic
#9F2A3D #789F2A #2A9F8C #512A9F
square
#9F2A3D #789F2A #2A9F8C #512A9F
split-complementary
#9F2A3D #2A9F51 #2A789F
monochromatic
#3E1018 #6F1D2A #9F2A3D #CB3B52 #D86B7D

Accessibility & contrast

On white

7.31
#9F2A3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9F2A3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2A3D
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2A3D#FFFFFF#000000##FFFFFF
##9F2A3D1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A473D
Deuteranopia (green-blind)
#675F3A
Tritanopia (blue-blind)
#AE0432
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f2a3d;
/* rgb */ color: rgb(159, 42, 61);
/* oklch */ color: oklch(47.3% 0.152 16.2);
Tailwind
colors: {
  custom: {
    50: '#c26d72',
    500: '#9f2a3d',
    950: '#000000',
  },
}
SCSS
$custom: #9f2a3d;
$custom-light: #c26d72;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2a3d",
  "rgb": {
    "r": 159,
    "g": 42,
    "b": 61
  },
  "hsl": {
    "h": 350.256,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47321,
    "c": 0.1522,
    "h": 16.2
  },
  "luminance": 0.09364
}

Semantic roles & 50–950 ramp

primary
#9F2A3D
secondary
#66BFB0
accent
#E1C846
background
#FCF6F6
surface
#F9ECEC
border
#D2C7C7
text
#140807
muted
#827B7A

Preview Lab

Preview with #9F2A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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