#B5334F#B5334F

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

Color values

HEX#B5334F
RGBrgb(181, 51, 79)
HSLhsl(347, 56%, 45%)
HSVhsv(347, 72%, 71%)
CMYKcmyk(0%, 71.8%, 56.4%, 29%)
CIE-LABlab(42.40, 53.66, 14.48)
CIE-LCHlch(42.40, 55.58, 15.11°)
OKLaboklab(52.45% 0.162 0.0362)
OKLCHoklch(52.45% 0.166 12.6)
XYZxyz(21.6532, 12.7589, 8.7181)
Luminance0.1276 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5334F #33B599
analogous
#B53390 #B5334F #B55833
triadic
#B5334F #4FB533 #334FB5
tetradic
#B5334F #90B533 #33B599 #5833B5
square
#B5334F #90B533 #33B599 #5833B5
split-complementary
#B5334F #33B558 #3390B5
monochromatic
#561825 #85263A #B5334F #CF5670 #DD8698

Accessibility & contrast

On white

5.91
#B5334F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B5334F
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5334F#FFFFFF#000000##FFFFFF
##B5334F1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5334f;
/* rgb */ color: rgb(181, 51, 79);
/* oklch */ color: oklch(52.4% 0.166 12.6);
Tailwind
colors: {
  custom: {
    50: '#d17480',
    500: '#b5334f',
    950: '#000000',
  },
}
SCSS
$custom: #b5334f;
$custom-light: #d17480;
$custom-dark: #000000;
JSON
{
  "hex": "#b5334f",
  "rgb": {
    "r": 181,
    "g": 51,
    "b": 79
  },
  "hsl": {
    "h": 347.077,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52449,
    "c": 0.16599,
    "h": 12.6
  },
  "luminance": 0.12756
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B5334F

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

Preview Lab → · Contrast checker → · Palette generator →

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