#B8336A#B8336A

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

Color values

HEX#B8336A
RGBrgb(184, 51, 106)
HSLhsl(335, 57%, 46%)
HSVhsv(335, 72%, 72%)
CMYKcmyk(0%, 72.3%, 42.4%, 27.8%)
CIE-LABlab(43.66, 56.92, -0.48)
CIE-LCHlch(43.66, 56.92, 359.52°)
OKLaboklab(53.71% 0.1746 -0.0006)
OKLCHoklch(53.71% 0.175 359.8)
XYZxyz(23.5542, 13.6016, 15.0179)
Luminance0.1360 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8336A #33B881
analogous
#B833AC #B8336A #B83E33
triadic
#B8336A #6AB833 #336AB8
tetradic
#B8336A #ACB833 #33B881 #3E33B8
square
#B8336A #ACB833 #33B881 #3E33B8
split-complementary
#B8336A #33B83E #33ACB8
monochromatic
#581833 #88264E #B8336A #D1588A #DE88AB

Accessibility & contrast

On white

5.65
#B8336A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B8336A
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8336A#FFFFFF#000000##FFFFFF
##B8336A1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F576B
Deuteranopia (green-blind)
#737067
Tritanopia (blue-blind)
#C7204A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b8336a;
/* rgb */ color: rgb(184, 51, 106);
/* oklch */ color: oklch(53.7% 0.175 359.8);
Tailwind
colors: {
  custom: {
    50: '#d27694',
    500: '#b8336a',
    950: '#000000',
  },
}
SCSS
$custom: #b8336a;
$custom-light: #d27694;
$custom-dark: #000000;
JSON
{
  "hex": "#b8336a",
  "rgb": {
    "r": 184,
    "g": 51,
    "b": 106
  },
  "hsl": {
    "h": 335.188,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53712,
    "c": 0.17458,
    "h": 359.8
  },
  "luminance": 0.13599
}

Semantic roles & 50–950 ramp

primary
#B8336A
secondary
#7FC8AA
accent
#E0A148
background
#FDF7F9
surface
#FBEEF1
border
#D4C9CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B8336A

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

Preview Lab → · Contrast checker → · Palette generator →

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