#B5284E#B5284E

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

Color values

HEX#B5284E
RGBrgb(181, 40, 78)
HSLhsl(344, 64%, 43%)
HSVhsv(344, 78%, 71%)
CMYKcmyk(0%, 77.9%, 56.9%, 29%)
CIE-LABlab(41.05, 57.29, 13.26)
CIE-LCHlch(41.05, 58.81, 13.04°)
OKLaboklab(51.44% 0.1735 0.0333)
OKLCHoklch(51.44% 0.177 10.9)
XYZxyz(21.1921, 11.8945, 8.3862)
Luminance0.1189 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5284E #28B58F
analogous
#B52894 #B5284E #B54828
triadic
#B5284E #4EB528 #284EB5
tetradic
#B5284E #94B528 #28B58F #4828B5
square
#B5284E #94B528 #28B58F #4828B5
split-complementary
#B5284E #28B548 #2894B5
monochromatic
#511223 #831D38 #B5284E #D6446C #E17793

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5284E#FFFFFF#000000##FFFFFF
##B5284E1.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)
#4E4E4F
Deuteranopia (green-blind)
#736B4A
Tritanopia (blue-blind)
#C60038
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b5284e;
/* rgb */ color: rgb(181, 40, 78);
/* oklch */ color: oklch(51.4% 0.177 10.9);
Tailwind
colors: {
  custom: {
    50: '#d2707f',
    500: '#b5284e',
    950: '#000000',
  },
}
SCSS
$custom: #b5284e;
$custom-light: #d2707f;
$custom-dark: #000000;
JSON
{
  "hex": "#b5284e",
  "rgb": {
    "r": 181,
    "g": 40,
    "b": 78
  },
  "hsl": {
    "h": 343.83,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51443,
    "c": 0.17669,
    "h": 10.9
  },
  "luminance": 0.11891
}

Semantic roles & 50–950 ramp

primary
#B5284E
secondary
#70C8B1
accent
#E7BA41
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B5284E

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

Preview Lab → · Contrast checker → · Palette generator →

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