#B5254D#B5254D

#B5254D is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.2% C 0.179 H 10.8°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#B5254D
RGBrgb(181, 37, 77)
HSLhsl(343, 66%, 43%)
HSVhsv(343, 80%, 71%)
CMYKcmyk(0%, 79.6%, 57.5%, 29%)
CIE-LABlab(40.71, 58.11, 13.44)
CIE-LCHlch(40.71, 59.64, 13.02°)
OKLaboklab(51.19% 0.176 0.0336)
OKLCHoklch(51.19% 0.179 10.8)
XYZxyz(21.0593, 11.6858, 8.1664)
Luminance0.1168 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5254D #25B58D
analogous
#B52595 #B5254D #B54525
triadic
#B5254D #4DB525 #254DB5
tetradic
#B5254D #95B525 #25B58D #4525B5
square
#B5254D #95B525 #25B58D #4525B5
split-complementary
#B5254D #25B545 #2595B5
monochromatic
#4F1022 #821B37 #B5254D #D83F6A #E27291

Accessibility & contrast

On white

6.29
#B5254D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#B5254D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5254D
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5254D#FFFFFF#000000##FFFFFF
##B5254D1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4D4E
Deuteranopia (green-blind)
#726A49
Tritanopia (blue-blind)
#C60036
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b5254d;
/* rgb */ color: rgb(181, 37, 77);
/* oklch */ color: oklch(51.2% 0.179 10.8);
Tailwind
colors: {
  custom: {
    50: '#d26f7e',
    500: '#b5254d',
    950: '#000000',
  },
}
SCSS
$custom: #b5254d;
$custom-light: #d26f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b5254d",
  "rgb": {
    "r": 181,
    "g": 37,
    "b": 77
  },
  "hsl": {
    "h": 343.333,
    "s": 66.055,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51188,
    "c": 0.17918,
    "h": 10.8
  },
  "luminance": 0.11683
}

Semantic roles & 50–950 ramp

primary
#B5254D
secondary
#6DC9AF
accent
#E9BA3F
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #B5254D

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

Preview Lab → · Contrast checker → · Palette generator →

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