#B5334C#B5334C

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

Color values

HEX#B5334C
RGBrgb(181, 51, 76)
HSLhsl(348, 56%, 45%)
HSVhsv(348, 72%, 71%)
CMYKcmyk(0%, 71.8%, 58%, 29%)
CIE-LABlab(42.33, 53.44, 16.27)
CIE-LCHlch(42.33, 55.86, 16.93°)
OKLaboklab(52.38% 0.1608 0.0403)
OKLCHoklch(52.38% 0.166 14.1)
XYZxyz(21.5465, 12.7162, 8.1560)
Luminance0.1271 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5334C #33B59C
analogous
#B5338D #B5334C #B55B33
triadic
#B5334C #4CB533 #334CB5
tetradic
#B5334C #8DB533 #33B59C #5B33B5
square
#B5334C #8DB533 #33B59C #5B33B5
split-complementary
#B5334C #33B55B #338DB5
monochromatic
#561824 #852638 #B5334C #CF566D #DD8696

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5334C#FFFFFF#000000##FFFFFF
##B5334C1.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)
#55534C
Deuteranopia (green-blind)
#766E49
Tritanopia (blue-blind)
#C6103D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b5334c;
/* rgb */ color: rgb(181, 51, 76);
/* oklch */ color: oklch(52.4% 0.166 14.1);
Tailwind
colors: {
  custom: {
    50: '#d2747d',
    500: '#b5334c',
    950: '#000000',
  },
}
SCSS
$custom: #b5334c;
$custom-light: #d2747d;
$custom-dark: #000000;
JSON
{
  "hex": "#b5334c",
  "rgb": {
    "r": 181,
    "g": 51,
    "b": 76
  },
  "hsl": {
    "h": 348.462,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.5238,
    "c": 0.16578,
    "h": 14.1
  },
  "luminance": 0.12713
}

Semantic roles & 50–950 ramp

primary
#B5334C
secondary
#7DC6B8
accent
#DFC248
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150909
muted
#837B7B

Preview Lab

Preview with #B5334C

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

Preview Lab → · Contrast checker → · Palette generator →

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