#B9337D#B9337D

#B9337D is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.6% C 0.183 H 351.1°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#B9337D
RGBrgb(185, 51, 125)
HSLhsl(327, 57%, 46%)
HSVhsv(327, 72%, 73%)
CMYKcmyk(0%, 72.4%, 32.4%, 27.5%)
CIE-LABlab(44.47, 59.26, -10.97)
CIE-LCHlch(44.47, 60.27, 349.52°)
OKLaboklab(54.55% 0.1812 -0.0284)
OKLCHoklch(54.55% 0.183 351.1)
XYZxyz(24.8945, 14.1655, 20.8213)
Luminance0.1416 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9337D #33B96F
analogous
#B233B9 #B9337D #B9333A
triadic
#B9337D #7DB933 #337DB9
tetradic
#B9337D #B9B233 #33B96F #333AB9
square
#B9337D #B9B233 #33B96F #333AB9
split-complementary
#B9337D #3AB933 #33B9B2
monochromatic
#59193C #89265D #B9337D #D1589B #DE88B8

Accessibility & contrast

On white

5.48
#B9337D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#B9337D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9337D
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9337D#FFFFFF#000000##FFFFFF
##B9337D1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495A7F
Deuteranopia (green-blind)
#6F727A
Tritanopia (blue-blind)
#C72A53
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b9337d;
/* rgb */ color: rgb(185, 51, 125);
/* oklch */ color: oklch(54.6% 0.183 351.1);
Tailwind
colors: {
  custom: {
    50: '#d276a2',
    500: '#b9337d',
    950: '#000000',
  },
}
SCSS
$custom: #b9337d;
$custom-light: #d276a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b9337d",
  "rgb": {
    "r": 185,
    "g": 51,
    "b": 125
  },
  "hsl": {
    "h": 326.866,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54551,
    "c": 0.1834,
    "h": 351.1
  },
  "luminance": 0.14163
}

Semantic roles & 50–950 ramp

primary
#B9337D
secondary
#80C8A0
accent
#E08C48
background
#FDF7FA
surface
#FBEEF3
border
#D4C9CD
text
#15090F
muted
#837B7F

Preview Lab

Preview with #B9337D

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

Preview Lab → · Contrast checker → · Palette generator →

#B9337D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva