#9B335D#9B335D

#9B335D is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.5% C 0.143 H 359.1°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#9B335D
RGBrgb(155, 51, 93)
HSLhsl(336, 50%, 40%)
HSVhsv(336, 67%, 61%)
CMYKcmyk(0%, 67.1%, 40%, 39.2%)
CIE-LABlab(38.07, 46.86, -1.12)
CIE-LCHlch(38.07, 46.87, 358.63°)
OKLaboklab(48.49% 0.1434 -0.0024)
OKLCHoklch(48.49% 0.143 359.1)
XYZxyz(16.6783, 10.1285, 11.4305)
Luminance0.1013 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B335D #339B71
analogous
#9B3391 #9B335D #9B3D33
triadic
#9B335D #5D9B33 #335D9B
tetradic
#9B335D #919B33 #339B71 #3D339B
square
#9B335D #919B33 #339B71 #3D339B
split-complementary
#9B335D #339B3D #33919B
monochromatic
#3F1526 #6D2441 #9B335D #C3487A #D2769B

Accessibility & contrast

On white

6.94
#9B335D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9B335D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B335D
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B335D#FFFFFF#000000##FFFFFF
##9B335D1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474D5E
Deuteranopia (green-blind)
#63615B
Tritanopia (blue-blind)
#A82844
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b335d;
/* rgb */ color: rgb(155, 51, 93);
/* oklch */ color: oklch(48.5% 0.143 359.1);
Tailwind
colors: {
  custom: {
    50: '#bd728a',
    500: '#9b335d',
    950: '#000000',
  },
}
SCSS
$custom: #9b335d;
$custom-light: #bd728a;
$custom-dark: #000000;
JSON
{
  "hex": "#9b335d",
  "rgb": {
    "r": 155,
    "g": 51,
    "b": 93
  },
  "hsl": {
    "h": 335.769,
    "s": 50.485,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48487,
    "c": 0.14339,
    "h": 359.1
  },
  "luminance": 0.10127
}

Semantic roles & 50–950 ramp

primary
#9B335D
secondary
#6FBA9C
accent
#DAA14E
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9B335D

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

Preview Lab → · Contrast checker → · Palette generator →

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