#B8336B#B8336B

#B8336B is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.7% C 0.175 H 359.3°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#B8336B
RGBrgb(184, 51, 107)
HSLhsl(335, 57%, 46%)
HSVhsv(335, 72%, 72%)
CMYKcmyk(0%, 72.3%, 41.8%, 27.8%)
CIE-LABlab(43.69, 57.02, -1.05)
CIE-LCHlch(43.69, 57.03, 358.94°)
OKLaboklab(53.75% 0.1749 -0.0021)
OKLCHoklch(53.75% 0.175 359.3)
XYZxyz(23.6065, 13.6225, 15.2934)
Luminance0.1362 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8336B #33B880
analogous
#B833AD #B8336B #B83D33
triadic
#B8336B #6BB833 #336BB8
tetradic
#B8336B #ADB833 #33B880 #3D33B8
square
#B8336B #ADB833 #33B880 #3D33B8
split-complementary
#B8336B #33B83D #33ADB8
monochromatic
#581833 #88264F #B8336B #D1588B #DE88AC

Accessibility & contrast

On white

5.64
#B8336B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#B8336B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8336B
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8336B#FFFFFF#000000##FFFFFF
##B8336B1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F576C
Deuteranopia (green-blind)
#737068
Tritanopia (blue-blind)
#C7214B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b8336b;
/* rgb */ color: rgb(184, 51, 107);
/* oklch */ color: oklch(53.7% 0.175 359.3);
Tailwind
colors: {
  custom: {
    50: '#d27695',
    500: '#b8336b',
    950: '#000000',
  },
}
SCSS
$custom: #b8336b;
$custom-light: #d27695;
$custom-dark: #000000;
JSON
{
  "hex": "#b8336b",
  "rgb": {
    "r": 184,
    "g": 51,
    "b": 107
  },
  "hsl": {
    "h": 334.737,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53745,
    "c": 0.17492,
    "h": 359.3
  },
  "luminance": 0.1362
}

Semantic roles & 50–950 ramp

primary
#B8336B
secondary
#7FC8A9
accent
#E0A048
background
#FDF7F9
surface
#FBEEF1
border
#D4C9CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B8336B

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

Preview Lab → · Contrast checker → · Palette generator →

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