#9A3147#9A3147

#9A3147 is a mid, vivid red. Relative luminance 0.095; OKLCH L 47.4% C 0.140 H 11.8°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#9A3147
RGBrgb(154, 49, 71)
HSLhsl(347, 52%, 40%)
HSVhsv(347, 68%, 60%)
CMYKcmyk(0%, 68.2%, 53.9%, 39.6%)
CIE-LABlab(36.97, 45.21, 11.29)
CIE-LCHlch(36.97, 46.60, 14.03°)
OKLaboklab(47.44% 0.1368 0.0286)
OKLCHoklch(47.44% 0.14 11.8)
XYZxyz(15.5634, 9.5236, 6.9787)
Luminance0.0952 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3147 #319A84
analogous
#9A317B #9A3147 #9A5031
triadic
#9A3147 #479A31 #31479A
tetradic
#9A3147 #7B9A31 #319A84 #50319A
square
#9A3147 #7B9A31 #319A84 #50319A
split-complementary
#9A3147 #319A50 #317B9A
monochromatic
#3D131C #6C2232 #9A3147 #C4455F #D27387

Accessibility & contrast

On white

7.23
#9A3147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9A3147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A3147
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3147#FFFFFF#000000##FFFFFF
##9A31471.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4947
Deuteranopia (green-blind)
#655F44
Tritanopia (blue-blind)
#A81D3A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9a3147;
/* rgb */ color: rgb(154, 49, 71);
/* oklch */ color: oklch(47.4% 0.140 11.8);
Tailwind
colors: {
  custom: {
    50: '#bd707a',
    500: '#9a3147',
    950: '#000000',
  },
}
SCSS
$custom: #9a3147;
$custom-light: #bd707a;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3147",
  "rgb": {
    "r": 154,
    "g": 49,
    "b": 71
  },
  "hsl": {
    "h": 347.429,
    "s": 51.724,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47438,
    "c": 0.13971,
    "h": 11.8
  },
  "luminance": 0.09522
}

Semantic roles & 50–950 ramp

primary
#9A3147
secondary
#6CBAAA
accent
#DBBD4D
background
#FCF7F7
surface
#F8EDED
border
#D1C8C8
text
#130809
muted
#827B7B

Preview Lab

Preview with #9A3147

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

Preview Lab → · Contrast checker → · Palette generator →

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