#B8336C#B8336C

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

Color values

HEX#B8336C
RGBrgb(184, 51, 108)
HSLhsl(334, 57%, 46%)
HSVhsv(334, 72%, 72%)
CMYKcmyk(0%, 72.3%, 41.3%, 27.8%)
CIE-LABlab(43.72, 57.12, -1.63)
CIE-LCHlch(43.72, 57.15, 358.37°)
OKLaboklab(53.78% 0.1752 -0.0036)
OKLCHoklch(53.78% 0.175 358.8)
XYZxyz(23.6595, 13.6437, 15.5720)
Luminance0.1364 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8336C #33B87F
analogous
#B833AE #B8336C #B83C33
triadic
#B8336C #6CB833 #336CB8
tetradic
#B8336C #AEB833 #33B87F #3C33B8
square
#B8336C #AEB833 #33B87F #3C33B8
split-complementary
#B8336C #33B83C #33AEB8
monochromatic
#581834 #882650 #B8336C #D1588B #DE88AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8336C#FFFFFF#000000##FFFFFF
##B8336C1.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)
#4E576D
Deuteranopia (green-blind)
#737169
Tritanopia (blue-blind)
#C7214B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b8336c;
/* rgb */ color: rgb(184, 51, 108);
/* oklch */ color: oklch(53.8% 0.175 358.8);
Tailwind
colors: {
  custom: {
    50: '#d27696',
    500: '#b8336c',
    950: '#000000',
  },
}
SCSS
$custom: #b8336c;
$custom-light: #d27696;
$custom-dark: #000000;
JSON
{
  "hex": "#b8336c",
  "rgb": {
    "r": 184,
    "g": 51,
    "b": 108
  },
  "hsl": {
    "h": 334.286,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53778,
    "c": 0.17528,
    "h": 358.8
  },
  "luminance": 0.13641
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8336C

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

Preview Lab → · Contrast checker → · Palette generator →

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