#B8335B#B8335B

#B8335B is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.3% C 0.171 H 7.2°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#B8335B
RGBrgb(184, 51, 91)
HSLhsl(342, 57%, 46%)
HSVhsv(342, 72%, 72%)
CMYKcmyk(0%, 72.3%, 50.5%, 27.8%)
CIE-LABlab(43.24, 55.53, 8.25)
CIE-LCHlch(43.24, 56.14, 8.45°)
OKLaboklab(53.26% 0.1692 0.0214)
OKLCHoklch(53.26% 0.171 7.2)
XYZxyz(22.8413, 13.3164, 11.2630)
Luminance0.1331 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8335B #33B890
analogous
#B8339D #B8335B #B84D33
triadic
#B8335B #5BB833 #335BB8
tetradic
#B8335B #9DB833 #33B890 #4D33B8
square
#B8335B #9DB833 #33B890 #4D33B8
split-complementary
#B8335B #33B84D #339DB8
monochromatic
#58182C #882643 #B8335B #D1587C #DE88A1

Accessibility & contrast

On white

5.73
#B8335B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#B8335B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8335B
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8335B#FFFFFF#000000##FFFFFF
##B8335B1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53555C
Deuteranopia (green-blind)
#767058
Tritanopia (blue-blind)
#C81743
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b8335b;
/* rgb */ color: rgb(184, 51, 91);
/* oklch */ color: oklch(53.3% 0.171 7.2);
Tailwind
colors: {
  custom: {
    50: '#d37589',
    500: '#b8335b',
    950: '#000000',
  },
}
SCSS
$custom: #b8335b;
$custom-light: #d37589;
$custom-dark: #000000;
JSON
{
  "hex": "#b8335b",
  "rgb": {
    "r": 184,
    "g": 51,
    "b": 91
  },
  "hsl": {
    "h": 341.955,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53265,
    "c": 0.17058,
    "h": 7.2
  },
  "luminance": 0.13313
}

Semantic roles & 50–950 ramp

primary
#B8335B
secondary
#7FC8B2
accent
#E0B248
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B8335B

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

Preview Lab → · Contrast checker → · Palette generator →

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