#9E2F4A#9E2F4A

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

Color values

HEX#9E2F4A
RGBrgb(158, 47, 74)
HSLhsl(345, 54%, 40%)
HSVhsv(345, 70%, 62%)
CMYKcmyk(0%, 70.3%, 53.2%, 38%)
CIE-LABlab(37.48, 47.59, 10.19)
CIE-LCHlch(37.48, 48.67, 12.09°)
OKLaboklab(47.98% 0.1443 0.026)
OKLCHoklch(47.98% 0.147 10.2)
XYZxyz(16.3545, 9.7987, 7.5074)
Luminance0.0980 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2F4A #2F9E83
analogous
#9E2F82 #9E2F4A #9E4B2F
triadic
#9E2F4A #4A9E2F #2F4A9E
tetradic
#9E2F4A #829E2F #2F9E83 #4B2F9E
square
#9E2F4A #829E2F #2F9E83 #4B2F9E
split-complementary
#9E2F4A #2F9E4B #2F829E
monochromatic
#40131E #6F2134 #9E2F4A #C74363 #D5728A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E2F4A#FFFFFF#000000##FFFFFF
##9E2F4A1.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)
#4A4A4A
Deuteranopia (green-blind)
#676047
Tritanopia (blue-blind)
#AC193A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e2f4a;
/* rgb */ color: rgb(158, 47, 74);
/* oklch */ color: oklch(48.0% 0.147 10.2);
Tailwind
colors: {
  custom: {
    50: '#c06f7c',
    500: '#9e2f4a',
    950: '#000000',
  },
}
SCSS
$custom: #9e2f4a;
$custom-light: #c06f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2f4a",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 74
  },
  "hsl": {
    "h": 345.405,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47975,
    "c": 0.14666,
    "h": 10.2
  },
  "luminance": 0.09797
}

Semantic roles & 50–950 ramp

primary
#9E2F4A
secondary
#6CBDA9
accent
#DEBA4A
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#130809
muted
#827B7B

Preview Lab

Preview with #9E2F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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