#9F2A3E#9F2A3E

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

Color values

HEX#9F2A3E
RGBrgb(159, 42, 62)
HSLhsl(350, 58%, 39%)
HSVhsv(350, 74%, 62%)
CMYKcmyk(0%, 73.6%, 61%, 37.6%)
CIE-LABlab(36.70, 48.90, 16.82)
CIE-LCHlch(36.70, 51.72, 18.98°)
OKLaboklab(47.34% 0.1466 0.0412)
OKLCHoklch(47.34% 0.152 15.7)
XYZxyz(15.9971, 9.3770, 5.5241)
Luminance0.0938 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2A3E #2A9F8B
analogous
#9F2A78 #9F2A3E #9F512A
triadic
#9F2A3E #3E9F2A #2A3E9F
tetradic
#9F2A3E #789F2A #2A9F8B #512A9F
square
#9F2A3E #789F2A #2A9F8B #512A9F
split-complementary
#9F2A3E #2A9F51 #2A789F
monochromatic
#3E1018 #6F1D2B #9F2A3E #CB3B54 #D86B7E

Accessibility & contrast

On white

7.30
#9F2A3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F2A3E
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2A3E#FFFFFF#000000##FFFFFF
##9F2A3E1.007.302.877.30
#FFFFFF7.301.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49473E
Deuteranopia (green-blind)
#675F3B
Tritanopia (blue-blind)
#AE0532
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f2a3e;
/* rgb */ color: rgb(159, 42, 62);
/* oklch */ color: oklch(47.3% 0.152 15.7);
Tailwind
colors: {
  custom: {
    50: '#c26d73',
    500: '#9f2a3e',
    950: '#000000',
  },
}
SCSS
$custom: #9f2a3e;
$custom-light: #c26d73;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2a3e",
  "rgb": {
    "r": 159,
    "g": 42,
    "b": 62
  },
  "hsl": {
    "h": 349.744,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47343,
    "c": 0.15223,
    "h": 15.7
  },
  "luminance": 0.09375
}

Semantic roles & 50–950 ramp

primary
#9F2A3E
secondary
#66BFB0
accent
#E1C746
background
#FCF6F6
surface
#F9ECEC
border
#D2C7C7
text
#140808
muted
#827B7B

Preview Lab

Preview with #9F2A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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