#B8336D#B8336D

#B8336D is a mid, vivid pink. Relative luminance 0.137; OKLCH L 53.8% C 0.176 H 358.3°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#B8336D
RGBrgb(184, 51, 109)
HSLhsl(334, 57%, 46%)
HSVhsv(334, 72%, 72%)
CMYKcmyk(0%, 72.3%, 40.8%, 27.8%)
CIE-LABlab(43.75, 57.23, -2.20)
CIE-LCHlch(43.75, 57.27, 357.80°)
OKLaboklab(53.81% 0.1756 -0.0051)
OKLCHoklch(53.81% 0.176 358.3)
XYZxyz(23.7130, 13.6651, 15.8539)
Luminance0.1366 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8336D #33B87E
analogous
#B833AF #B8336D #B83C33
triadic
#B8336D #6DB833 #336DB8
tetradic
#B8336D #AFB833 #33B87E #3C33B8
square
#B8336D #AFB833 #33B87E #3C33B8
split-complementary
#B8336D #33B83C #33AFB8
monochromatic
#581834 #882651 #B8336D #D1588C #DE88AD

Accessibility & contrast

On white

5.63
#B8336D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#B8336D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8336D
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8336D#FFFFFF#000000##FFFFFF
##B8336D1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E576E
Deuteranopia (green-blind)
#72716A
Tritanopia (blue-blind)
#C7224C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b8336d;
/* rgb */ color: rgb(184, 51, 109);
/* oklch */ color: oklch(53.8% 0.176 358.3);
Tailwind
colors: {
  custom: {
    50: '#d27696',
    500: '#b8336d',
    950: '#000000',
  },
}
SCSS
$custom: #b8336d;
$custom-light: #d27696;
$custom-dark: #000000;
JSON
{
  "hex": "#b8336d",
  "rgb": {
    "r": 184,
    "g": 51,
    "b": 109
  },
  "hsl": {
    "h": 333.835,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53811,
    "c": 0.17564,
    "h": 358.3
  },
  "luminance": 0.13662
}

Semantic roles & 50–950 ramp

primary
#B8336D
secondary
#7FC8A8
accent
#E09E48
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B8336D

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

Preview Lab → · Contrast checker → · Palette generator →

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