#B5254F#B5254F

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

Color values

HEX#B5254F
RGBrgb(181, 37, 79)
HSLhsl(343, 66%, 43%)
HSVhsv(343, 80%, 71%)
CMYKcmyk(0%, 79.6%, 56.4%, 29%)
CIE-LABlab(40.76, 58.25, 12.24)
CIE-LCHlch(40.76, 59.52, 11.86°)
OKLaboklab(51.24% 0.1768 0.0308)
OKLCHoklch(51.24% 0.179 9.9)
XYZxyz(21.1310, 11.7145, 8.5441)
Luminance0.1171 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5254F #25B58B
analogous
#B52597 #B5254F #B54325
triadic
#B5254F #4FB525 #254FB5
tetradic
#B5254F #97B525 #25B58B #4325B5
square
#B5254F #97B525 #25B58B #4325B5
split-complementary
#B5254F #25B543 #2597B5
monochromatic
#4F1023 #821B39 #B5254F #D83F6C #E27293

Accessibility & contrast

On white

6.28
#B5254F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B5254F
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5254F#FFFFFF#000000##FFFFFF
##B5254F1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4E50
Deuteranopia (green-blind)
#726A4B
Tritanopia (blue-blind)
#C60037
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b5254f;
/* rgb */ color: rgb(181, 37, 79);
/* oklch */ color: oklch(51.2% 0.179 9.9);
Tailwind
colors: {
  custom: {
    50: '#d26f80',
    500: '#b5254f',
    950: '#000000',
  },
}
SCSS
$custom: #b5254f;
$custom-light: #d26f80;
$custom-dark: #000000;
JSON
{
  "hex": "#b5254f",
  "rgb": {
    "r": 181,
    "g": 37,
    "b": 79
  },
  "hsl": {
    "h": 342.5,
    "s": 66.055,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51237,
    "c": 0.17944,
    "h": 9.9
  },
  "luminance": 0.11711
}

Semantic roles & 50–950 ramp

primary
#B5254F
secondary
#6DC9AE
accent
#E9B73F
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B5254F

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

Preview Lab → · Contrast checker → · Palette generator →

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