#9D334C#9D334C

#9D334C is a mid, vivid red. Relative luminance 0.101; OKLCH L 48.3% C 0.141 H 10.0°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#9D334C
RGBrgb(157, 51, 76)
HSLhsl(346, 51%, 41%)
HSVhsv(346, 68%, 62%)
CMYKcmyk(0%, 67.5%, 51.6%, 38.4%)
CIE-LABlab(37.95, 45.79, 9.55)
CIE-LCHlch(37.95, 46.77, 11.78°)
OKLaboklab(48.31% 0.1389 0.0245)
OKLCHoklch(48.31% 0.141 10)
XYZxyz(16.3943, 10.0597, 7.9145)
Luminance0.1006 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D334C #339D84
analogous
#9D3381 #9D334C #9D4F33
triadic
#9D334C #4C9D33 #334C9D
tetradic
#9D334C #819D33 #339D84 #4F339D
square
#9D334C #819D33 #339D84 #4F339D
split-complementary
#9D334C #339D4F #33819D
monochromatic
#41151F #6F2436 #9D334C #C44966 #D3778D

Accessibility & contrast

On white

6.97
#9D334C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9D334C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D334C
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D334C#FFFFFF#000000##FFFFFF
##9D334C1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4C4C
Deuteranopia (green-blind)
#676149
Tritanopia (blue-blind)
#AB213D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d334c;
/* rgb */ color: rgb(157, 51, 76);
/* oklch */ color: oklch(48.3% 0.141 10.0);
Tailwind
colors: {
  custom: {
    50: '#bf717d',
    500: '#9d334c',
    950: '#000000',
  },
}
SCSS
$custom: #9d334c;
$custom-light: #bf717d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d334c",
  "rgb": {
    "r": 157,
    "g": 51,
    "b": 76
  },
  "hsl": {
    "h": 345.849,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48307,
    "c": 0.14106,
    "h": 10
  },
  "luminance": 0.10058
}

Semantic roles & 50–950 ramp

primary
#9D334C
secondary
#70BBAA
accent
#DAB94D
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#130809
muted
#827B7B

Preview Lab

Preview with #9D334C

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

Preview Lab → · Contrast checker → · Palette generator →

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