#B5224F#B5224F

#B5224F is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.0% C 0.182 H 9.5°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#B5224F
RGBrgb(181, 34, 79)
HSLhsl(342, 68%, 42%)
HSVhsv(342, 81%, 71%)
CMYKcmyk(0%, 81.2%, 56.4%, 29%)
CIE-LABlab(40.47, 59.07, 11.83)
CIE-LCHlch(40.47, 60.25, 11.33°)
OKLaboklab(51.02% 0.1794 0.0299)
OKLCHoklch(51.02% 0.182 9.5)
XYZxyz(21.0414, 11.5354, 8.5142)
Luminance0.1153 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5224F #22B588
analogous
#B52298 #B5224F #B53F22
triadic
#B5224F #4FB522 #224FB5
tetradic
#B5224F #98B522 #22B588 #3F22B5
square
#B5224F #98B522 #22B588 #3F22B5
split-complementary
#B5224F #22B53F #2298B5
monochromatic
#4E0F22 #811839 #B5224F #DA3A6B #E46E92

Accessibility & contrast

On white

6.35
#B5224F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#B5224F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5224F
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5224F#FFFFFF#000000##FFFFFF
##B5224F1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4D50
Deuteranopia (green-blind)
#716A4B
Tritanopia (blue-blind)
#C60036
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b5224f;
/* rgb */ color: rgb(181, 34, 79);
/* oklch */ color: oklch(51.0% 0.182 9.5);
Tailwind
colors: {
  custom: {
    50: '#d26e80',
    500: '#b5224f',
    950: '#000000',
  },
}
SCSS
$custom: #b5224f;
$custom-light: #d26e80;
$custom-dark: #000000;
JSON
{
  "hex": "#b5224f",
  "rgb": {
    "r": 181,
    "g": 34,
    "b": 79
  },
  "hsl": {
    "h": 341.633,
    "s": 68.372,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51023,
    "c": 0.18191,
    "h": 9.5
  },
  "luminance": 0.11532
}

Semantic roles & 50–950 ramp

primary
#B5224F
secondary
#69CAAC
accent
#EBB63D
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B5224F

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

Preview Lab → · Contrast checker → · Palette generator →

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