#B5334B#B5334B

#B5334B is a mid, vivid red. Relative luminance 0.127; OKLCH L 52.4% C 0.166 H 14.6°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#B5334B
RGBrgb(181, 51, 75)
HSLhsl(349, 56%, 45%)
HSVhsv(349, 72%, 71%)
CMYKcmyk(0%, 71.8%, 58.6%, 29%)
CIE-LABlab(42.31, 53.37, 16.86)
CIE-LCHlch(42.31, 55.97, 17.53°)
OKLaboklab(52.36% 0.1604 0.0417)
OKLCHoklch(52.36% 0.166 14.6)
XYZxyz(21.5120, 12.7024, 7.9743)
Luminance0.1270 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5334B #33B59D
analogous
#B5338C #B5334B #B55C33
triadic
#B5334B #4BB533 #334BB5
tetradic
#B5334B #8CB533 #33B59D #5C33B5
square
#B5334B #8CB533 #33B59D #5C33B5
split-complementary
#B5334B #33B55C #338CB5
monochromatic
#561823 #852637 #B5334B #CF566C #DD8696

Accessibility & contrast

On white

5.93
#B5334B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#B5334B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5334B
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5334B#FFFFFF#000000##FFFFFF
##B5334B1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55534B
Deuteranopia (green-blind)
#766E48
Tritanopia (blue-blind)
#C60F3D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b5334b;
/* rgb */ color: rgb(181, 51, 75);
/* oklch */ color: oklch(52.4% 0.166 14.6);
Tailwind
colors: {
  custom: {
    50: '#d2747d',
    500: '#b5334b',
    950: '#000000',
  },
}
SCSS
$custom: #b5334b;
$custom-light: #d2747d;
$custom-dark: #000000;
JSON
{
  "hex": "#b5334b",
  "rgb": {
    "r": 181,
    "g": 51,
    "b": 75
  },
  "hsl": {
    "h": 348.923,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52357,
    "c": 0.16573,
    "h": 14.6
  },
  "luminance": 0.12699
}

Semantic roles & 50–950 ramp

primary
#B5334B
secondary
#7DC6B9
accent
#DFC348
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150909
muted
#837B7B

Preview Lab

Preview with #B5334B

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

Preview Lab → · Contrast checker → · Palette generator →

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