#B5284C#B5284C

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

Color values

HEX#B5284C
RGBrgb(181, 40, 76)
HSLhsl(345, 64%, 43%)
HSVhsv(345, 78%, 71%)
CMYKcmyk(0%, 77.9%, 58%, 29%)
CIE-LABlab(41.00, 57.15, 14.46)
CIE-LCHlch(41.00, 58.95, 14.20°)
OKLaboklab(51.4% 0.1727 0.036)
OKLCHoklch(51.4% 0.176 11.8)
XYZxyz(21.1215, 11.8662, 8.0143)
Luminance0.1186 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5284C #28B591
analogous
#B52892 #B5284C #B54A28
triadic
#B5284C #4CB528 #284CB5
tetradic
#B5284C #92B528 #28B591 #4A28B5
square
#B5284C #92B528 #28B591 #4A28B5
split-complementary
#B5284C #28B54A #2892B5
monochromatic
#511222 #831D37 #B5284C #D6446A #E17792

Accessibility & contrast

On white

6.23
#B5284C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#B5284C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5284C
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5284C#FFFFFF#000000##FFFFFF
##B5284C1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4E4C
Deuteranopia (green-blind)
#736B48
Tritanopia (blue-blind)
#C60037
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b5284c;
/* rgb */ color: rgb(181, 40, 76);
/* oklch */ color: oklch(51.4% 0.176 11.8);
Tailwind
colors: {
  custom: {
    50: '#d2707d',
    500: '#b5284c',
    950: '#000000',
  },
}
SCSS
$custom: #b5284c;
$custom-light: #d2707d;
$custom-dark: #000000;
JSON
{
  "hex": "#b5284c",
  "rgb": {
    "r": 181,
    "g": 40,
    "b": 76
  },
  "hsl": {
    "h": 344.681,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51395,
    "c": 0.17647,
    "h": 11.8
  },
  "luminance": 0.11863
}

Semantic roles & 50–950 ramp

primary
#B5284C
secondary
#70C8B2
accent
#E7BC41
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #B5284C

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

Preview Lab → · Contrast checker → · Palette generator →

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