#B8336F#B8336F

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

Color values

HEX#B8336F
RGBrgb(184, 51, 111)
HSLhsl(333, 57%, 46%)
HSVhsv(333, 72%, 72%)
CMYKcmyk(0%, 72.3%, 39.7%, 27.8%)
CIE-LABlab(43.81, 57.44, -3.35)
CIE-LCHlch(43.81, 57.53, 356.66°)
OKLaboklab(53.88% 0.1762 -0.0081)
OKLCHoklch(53.88% 0.176 357.4)
XYZxyz(23.8219, 13.7086, 16.4274)
Luminance0.1371 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8336F #33B87C
analogous
#B833B1 #B8336F #B83933
triadic
#B8336F #6FB833 #336FB8
tetradic
#B8336F #B1B833 #33B87C #3933B8
square
#B8336F #B1B833 #33B87C #3933B8
split-complementary
#B8336F #33B839 #33B1B8
monochromatic
#581835 #882652 #B8336F #D1588E #DE88AE

Accessibility & contrast

On white

5.61
#B8336F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#B8336F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8336F
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8336F#FFFFFF#000000##FFFFFF
##B8336F1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8336f;
/* rgb */ color: rgb(184, 51, 111);
/* oklch */ color: oklch(53.9% 0.176 357.4);
Tailwind
colors: {
  custom: {
    50: '#d27698',
    500: '#b8336f',
    950: '#000000',
  },
}
SCSS
$custom: #b8336f;
$custom-light: #d27698;
$custom-dark: #000000;
JSON
{
  "hex": "#b8336f",
  "rgb": {
    "r": 184,
    "g": 51,
    "b": 111
  },
  "hsl": {
    "h": 332.932,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53879,
    "c": 0.17639,
    "h": 357.4
  },
  "luminance": 0.13706
}

Semantic roles & 50–950 ramp

primary
#B8336F
secondary
#7FC8A7
accent
#E09B48
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B8336F

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

Preview Lab → · Contrast checker → · Palette generator →

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