#B5284D#B5284D

#B5284D is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.4% C 0.177 H 11.3°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#B5284D
RGBrgb(181, 40, 77)
HSLhsl(344, 64%, 43%)
HSVhsv(344, 78%, 71%)
CMYKcmyk(0%, 77.9%, 57.5%, 29%)
CIE-LABlab(41.03, 57.22, 13.86)
CIE-LCHlch(41.03, 58.88, 13.62°)
OKLaboklab(51.42% 0.1731 0.0347)
OKLCHoklch(51.42% 0.177 11.3)
XYZxyz(21.1565, 11.8802, 8.1988)
Luminance0.1188 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5284D #28B590
analogous
#B52893 #B5284D #B54928
triadic
#B5284D #4DB528 #284DB5
tetradic
#B5284D #93B528 #28B590 #4928B5
square
#B5284D #93B528 #28B590 #4928B5
split-complementary
#B5284D #28B549 #2893B5
monochromatic
#511222 #831D38 #B5284D #D6446B #E17792

Accessibility & contrast

On white

6.22
#B5284D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#B5284D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5284D
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5284D#FFFFFF#000000##FFFFFF
##B5284D1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4E4E
Deuteranopia (green-blind)
#736B49
Tritanopia (blue-blind)
#C60038
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b5284d;
/* rgb */ color: rgb(181, 40, 77);
/* oklch */ color: oklch(51.4% 0.177 11.3);
Tailwind
colors: {
  custom: {
    50: '#d2707e',
    500: '#b5284d',
    950: '#000000',
  },
}
SCSS
$custom: #b5284d;
$custom-light: #d2707e;
$custom-dark: #000000;
JSON
{
  "hex": "#b5284d",
  "rgb": {
    "r": 181,
    "g": 40,
    "b": 77
  },
  "hsl": {
    "h": 344.255,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51418,
    "c": 0.17658,
    "h": 11.3
  },
  "luminance": 0.11877
}

Semantic roles & 50–950 ramp

primary
#B5284D
secondary
#70C8B1
accent
#E7BB41
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #B5284D

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

Preview Lab → · Contrast checker → · Palette generator →

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