#9D304B#9D304B

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

Color values

HEX#9D304B
RGBrgb(157, 48, 75)
HSLhsl(345, 53%, 40%)
HSVhsv(345, 69%, 62%)
CMYKcmyk(0%, 69.4%, 52.2%, 38.4%)
CIE-LABlab(37.47, 46.95, 9.51)
CIE-LCHlch(37.47, 47.90, 11.45°)
OKLaboklab(47.94% 0.1425 0.0244)
OKLCHoklch(47.94% 0.145 9.7)
XYZxyz(16.2330, 9.7921, 7.6905)
Luminance0.0979 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D304B #309D82
analogous
#9D3081 #9D304B #9D4C30
triadic
#9D304B #4B9D30 #304B9D
tetradic
#9D304B #819D30 #309D82 #4C309D
square
#9D304B #819D30 #309D82 #4C309D
split-complementary
#9D304B #309D4C #30819D
monochromatic
#3F131E #6E2235 #9D304B #C64464 #D4738B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D304B#FFFFFF#000000##FFFFFF
##9D304B1.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)
#4A4A4B
Deuteranopia (green-blind)
#666048
Tritanopia (blue-blind)
#AB1C3B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d304b;
/* rgb */ color: rgb(157, 48, 75);
/* oklch */ color: oklch(47.9% 0.145 9.7);
Tailwind
colors: {
  custom: {
    50: '#bf707d',
    500: '#9d304b',
    950: '#000000',
  },
}
SCSS
$custom: #9d304b;
$custom-light: #bf707d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d304b",
  "rgb": {
    "r": 157,
    "g": 48,
    "b": 75
  },
  "hsl": {
    "h": 345.138,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4794,
    "c": 0.14459,
    "h": 9.7
  },
  "luminance": 0.0979
}

Semantic roles & 50–950 ramp

primary
#9D304B
secondary
#6DBCA8
accent
#DDB94B
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#130809
muted
#827B7B

Preview Lab

Preview with #9D304B

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

Preview Lab → · Contrast checker → · Palette generator →

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