#9B334D#9B334D

#9B334D is a mid, vivid red. Relative luminance 0.099; OKLCH L 48.0% C 0.139 H 9.0°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#9B334D
RGBrgb(155, 51, 77)
HSLhsl(345, 50%, 40%)
HSVhsv(345, 67%, 61%)
CMYKcmyk(0%, 67.1%, 50.3%, 39.2%)
CIE-LABlab(37.62, 45.22, 8.39)
CIE-LCHlch(37.62, 45.99, 10.51°)
OKLaboklab(48% 0.1374 0.0217)
OKLCHoklch(48% 0.139 9)
XYZxyz(16.0423, 9.8741, 8.0809)
Luminance0.0987 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B334D #339B81
analogous
#9B3381 #9B334D #9B4D33
triadic
#9B334D #4D9B33 #334D9B
tetradic
#9B334D #819B33 #339B81 #4D339B
square
#9B334D #819B33 #339B81 #4D339B
split-complementary
#9B334D #339B4D #33819B
monochromatic
#3F151F #6D2436 #9B334D #C34867 #D2768D

Accessibility & contrast

On white

7.06
#9B334D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9B334D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B334D
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B334D#FFFFFF#000000##FFFFFF
##9B334D1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4B4E
Deuteranopia (green-blind)
#66604B
Tritanopia (blue-blind)
#A9223D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9b334d;
/* rgb */ color: rgb(155, 51, 77);
/* oklch */ color: oklch(48.0% 0.139 9.0);
Tailwind
colors: {
  custom: {
    50: '#bd717e',
    500: '#9b334d',
    950: '#000000',
  },
}
SCSS
$custom: #9b334d;
$custom-light: #bd717e;
$custom-dark: #000000;
JSON
{
  "hex": "#9b334d",
  "rgb": {
    "r": 155,
    "g": 51,
    "b": 77
  },
  "hsl": {
    "h": 345,
    "s": 50.485,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47999,
    "c": 0.13909,
    "h": 9
  },
  "luminance": 0.09872
}

Semantic roles & 50–950 ramp

primary
#9B334D
secondary
#6FBAA8
accent
#DAB74E
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#13080A
muted
#827B7C

Preview Lab

Preview with #9B334D

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

Preview Lab → · Contrast checker → · Palette generator →

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