#B9337C#B9337C

#B9337C is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.5% C 0.183 H 351.5°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#B9337C
RGBrgb(185, 51, 124)
HSLhsl(327, 57%, 46%)
HSVhsv(327, 72%, 73%)
CMYKcmyk(0%, 72.4%, 33%, 27.5%)
CIE-LABlab(44.43, 59.15, -10.41)
CIE-LCHlch(44.43, 60.06, 350.02°)
OKLaboklab(54.51% 0.1809 -0.0269)
OKLCHoklch(54.51% 0.183 351.5)
XYZxyz(24.8309, 14.1401, 20.4865)
Luminance0.1414 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9337C #33B970
analogous
#B333B9 #B9337C #B93339
triadic
#B9337C #7CB933 #337CB9
tetradic
#B9337C #B9B333 #33B970 #3339B9
square
#B9337C #B9B333 #33B970 #3339B9
split-complementary
#B9337C #39B933 #33B9B3
monochromatic
#59193C #89265C #B9337C #D1589A #DE88B7

Accessibility & contrast

On white

5.49
#B9337C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B9337C
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9337C#FFFFFF#000000##FFFFFF
##B9337C1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495A7E
Deuteranopia (green-blind)
#707279
Tritanopia (blue-blind)
#C72953
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b9337c;
/* rgb */ color: rgb(185, 51, 124);
/* oklch */ color: oklch(54.5% 0.183 351.5);
Tailwind
colors: {
  custom: {
    50: '#d276a2',
    500: '#b9337c',
    950: '#000000',
  },
}
SCSS
$custom: #b9337c;
$custom-light: #d276a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b9337c",
  "rgb": {
    "r": 185,
    "g": 51,
    "b": 124
  },
  "hsl": {
    "h": 327.313,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54512,
    "c": 0.1829,
    "h": 351.5
  },
  "luminance": 0.14137
}

Semantic roles & 50–950 ramp

primary
#B9337C
secondary
#80C8A1
accent
#E08D48
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090F
muted
#837B7E

Preview Lab

Preview with #B9337C

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

Preview Lab → · Contrast checker → · Palette generator →

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