#B5254C#B5254C

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

Color values

HEX#B5254C
RGBrgb(181, 37, 76)
HSLhsl(344, 66%, 43%)
HSVhsv(344, 80%, 71%)
CMYKcmyk(0%, 79.6%, 58%, 29%)
CIE-LABlab(40.69, 58.04, 14.04)
CIE-LCHlch(40.69, 59.71, 13.60°)
OKLaboklab(51.16% 0.1756 0.035)
OKLCHoklch(51.16% 0.179 11.3)
XYZxyz(21.0242, 11.6718, 7.9819)
Luminance0.1167 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5254C #25B58E
analogous
#B52594 #B5254C #B54625
triadic
#B5254C #4CB525 #254CB5
tetradic
#B5254C #94B525 #25B58E #4625B5
square
#B5254C #94B525 #25B58E #4625B5
split-complementary
#B5254C #25B546 #2594B5
monochromatic
#4F1021 #821B37 #B5254C #D83F69 #E27291

Accessibility & contrast

On white

6.30
#B5254C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#B5254C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5254C
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5254C#FFFFFF#000000##FFFFFF
##B5254C1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5254c;
/* rgb */ color: rgb(181, 37, 76);
/* oklch */ color: oklch(51.2% 0.179 11.3);
Tailwind
colors: {
  custom: {
    50: '#d26e7d',
    500: '#b5254c',
    950: '#000000',
  },
}
SCSS
$custom: #b5254c;
$custom-light: #d26e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b5254c",
  "rgb": {
    "r": 181,
    "g": 37,
    "b": 76
  },
  "hsl": {
    "h": 343.75,
    "s": 66.055,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51163,
    "c": 0.17906,
    "h": 11.3
  },
  "luminance": 0.11669
}

Semantic roles & 50–950 ramp

primary
#B5254C
secondary
#6DC9B0
accent
#E9BB3F
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #B5254C

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

Preview Lab → · Contrast checker → · Palette generator →

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