#B5334E#B5334E

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

Color values

HEX#B5334E
RGBrgb(181, 51, 78)
HSLhsl(348, 56%, 45%)
HSVhsv(348, 72%, 71%)
CMYKcmyk(0%, 71.8%, 56.9%, 29%)
CIE-LABlab(42.38, 53.58, 15.08)
CIE-LCHlch(42.38, 55.66, 15.72°)
OKLaboklab(52.43% 0.1616 0.0376)
OKLCHoklch(52.43% 0.166 13.1)
XYZxyz(21.6171, 12.7445, 8.5279)
Luminance0.1274 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5334E #33B59A
analogous
#B5338F #B5334E #B55933
triadic
#B5334E #4EB533 #334EB5
tetradic
#B5334E #8FB533 #33B59A #5933B5
square
#B5334E #8FB533 #33B59A #5933B5
split-complementary
#B5334E #33B559 #338FB5
monochromatic
#561825 #852639 #B5334E #CF566F #DD8698

Accessibility & contrast

On white

5.92
#B5334E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#B5334E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5334E
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5334E#FFFFFF#000000##FFFFFF
##B5334E1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54534E
Deuteranopia (green-blind)
#766E4B
Tritanopia (blue-blind)
#C6123E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b5334e;
/* rgb */ color: rgb(181, 51, 78);
/* oklch */ color: oklch(52.4% 0.166 13.1);
Tailwind
colors: {
  custom: {
    50: '#d2747f',
    500: '#b5334e',
    950: '#000000',
  },
}
SCSS
$custom: #b5334e;
$custom-light: #d2747f;
$custom-dark: #000000;
JSON
{
  "hex": "#b5334e",
  "rgb": {
    "r": 181,
    "g": 51,
    "b": 78
  },
  "hsl": {
    "h": 347.538,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52426,
    "c": 0.16592,
    "h": 13.1
  },
  "luminance": 0.12741
}

Semantic roles & 50–950 ramp

primary
#B5334E
secondary
#7DC6B7
accent
#DFC048
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15090A
muted
#837B7C

Preview Lab

Preview with #B5334E

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

Preview Lab → · Contrast checker → · Palette generator →

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