#B8335C#B8335C

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

Color values

HEX#B8335C
RGBrgb(184, 51, 92)
HSLhsl(342, 57%, 46%)
HSVhsv(342, 72%, 72%)
CMYKcmyk(0%, 72.3%, 50%, 27.8%)
CIE-LABlab(43.26, 55.62, 7.66)
CIE-LCHlch(43.26, 56.14, 7.84°)
OKLaboklab(53.29% 0.1696 0.02)
OKLCHoklch(53.29% 0.171 6.7)
XYZxyz(22.8847, 13.3338, 11.4917)
Luminance0.1333 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8335C #33B88F
analogous
#B8339E #B8335C #B84C33
triadic
#B8335C #5CB833 #335CB8
tetradic
#B8335C #9EB833 #33B88F #4C33B8
square
#B8335C #9EB833 #33B88F #4C33B8
split-complementary
#B8335C #33B84C #339EB8
monochromatic
#58182C #882644 #B8335C #D1587D #DE88A2

Accessibility & contrast

On white

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

On black

3.67
#B8335C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B8335C#FFFFFF#000000##FFFFFF
##B8335C1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53555D
Deuteranopia (green-blind)
#767059
Tritanopia (blue-blind)
#C81844
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b8335c;
/* rgb */ color: rgb(184, 51, 92);
/* oklch */ color: oklch(53.3% 0.171 6.7);
Tailwind
colors: {
  custom: {
    50: '#d37589',
    500: '#b8335c',
    950: '#000000',
  },
}
SCSS
$custom: #b8335c;
$custom-light: #d37589;
$custom-dark: #000000;
JSON
{
  "hex": "#b8335c",
  "rgb": {
    "r": 184,
    "g": 51,
    "b": 92
  },
  "hsl": {
    "h": 341.504,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53293,
    "c": 0.17077,
    "h": 6.7
  },
  "luminance": 0.13331
}

Semantic roles & 50–950 ramp

primary
#B8335C
secondary
#7FC8B1
accent
#E0B148
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B8335C

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

Preview Lab → · Contrast checker → · Palette generator →

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