#B9336F#B9336F

#B9336F is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.0% C 0.177 H 357.6°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#B9336F
RGBrgb(185, 51, 111)
HSLhsl(333, 57%, 46%)
HSVhsv(333, 72%, 73%)
CMYKcmyk(0%, 72.4%, 40%, 27.5%)
CIE-LABlab(43.99, 57.72, -3.06)
CIE-LCHlch(43.99, 57.80, 356.96°)
OKLaboklab(54.04% 0.1771 -0.0073)
OKLCHoklch(54.04% 0.177 357.6)
XYZxyz(24.0623, 13.8326, 16.4387)
Luminance0.1383 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9336F #33B97D
analogous
#B933B2 #B9336F #B93A33
triadic
#B9336F #6FB933 #336FB9
tetradic
#B9336F #B2B933 #33B97D #3A33B9
square
#B9336F #B2B933 #33B97D #3A33B9
split-complementary
#B9336F #33B93A #33B2B9
monochromatic
#591935 #892652 #B9336F #D1588E #DE88AF

Accessibility & contrast

On white

5.58
#B9336F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#B9336F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9336F
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9336F#FFFFFF#000000##FFFFFF
##B9336F1.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5871
Deuteranopia (green-blind)
#73716C
Tritanopia (blue-blind)
#C8224D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b9336f;
/* rgb */ color: rgb(185, 51, 111);
/* oklch */ color: oklch(54.0% 0.177 357.6);
Tailwind
colors: {
  custom: {
    50: '#d37698',
    500: '#b9336f',
    950: '#000000',
  },
}
SCSS
$custom: #b9336f;
$custom-light: #d37698;
$custom-dark: #000000;
JSON
{
  "hex": "#b9336f",
  "rgb": {
    "r": 185,
    "g": 51,
    "b": 111
  },
  "hsl": {
    "h": 333.134,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54044,
    "c": 0.17724,
    "h": 357.6
  },
  "luminance": 0.1383
}

Semantic roles & 50–950 ramp

primary
#B9336F
secondary
#80C8A8
accent
#E09C48
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B9336F

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

Preview Lab → · Contrast checker → · Palette generator →

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