#B5254E#B5254E

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

Color values

HEX#B5254E
RGBrgb(181, 37, 78)
HSLhsl(343, 66%, 43%)
HSVhsv(343, 80%, 71%)
CMYKcmyk(0%, 79.6%, 56.9%, 29%)
CIE-LABlab(40.74, 58.18, 12.84)
CIE-LCHlch(40.74, 59.58, 12.44°)
OKLaboklab(51.21% 0.1764 0.0322)
OKLCHoklch(51.21% 0.179 10.4)
XYZxyz(21.0949, 11.7000, 8.3538)
Luminance0.1170 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5254E #25B58C
analogous
#B52596 #B5254E #B54425
triadic
#B5254E #4EB525 #254EB5
tetradic
#B5254E #96B525 #25B58C #4425B5
square
#B5254E #96B525 #25B58C #4425B5
split-complementary
#B5254E #25B544 #2596B5
monochromatic
#4F1022 #821B38 #B5254E #D83F6B #E27292

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5254E#FFFFFF#000000##FFFFFF
##B5254E1.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)
#4D4D4F
Deuteranopia (green-blind)
#726A4A
Tritanopia (blue-blind)
#C60037
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b5254e;
/* rgb */ color: rgb(181, 37, 78);
/* oklch */ color: oklch(51.2% 0.179 10.4);
Tailwind
colors: {
  custom: {
    50: '#d26f7f',
    500: '#b5254e',
    950: '#000000',
  },
}
SCSS
$custom: #b5254e;
$custom-light: #d26f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#b5254e",
  "rgb": {
    "r": 181,
    "g": 37,
    "b": 78
  },
  "hsl": {
    "h": 342.917,
    "s": 66.055,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51212,
    "c": 0.1793,
    "h": 10.4
  },
  "luminance": 0.11697
}

Semantic roles & 50–950 ramp

primary
#B5254E
secondary
#6DC9AF
accent
#E9B93F
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B5254E

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

Preview Lab → · Contrast checker → · Palette generator →

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