#B4255A#B4255A

#B4255A is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.4% C 0.181 H 4.5°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#B4255A
RGBrgb(180, 37, 90)
HSLhsl(338, 66%, 43%)
HSVhsv(338, 79%, 71%)
CMYKcmyk(0%, 79.4%, 50%, 29.4%)
CIE-LABlab(40.84, 58.83, 5.37)
CIE-LCHlch(40.84, 59.08, 5.22°)
OKLaboklab(51.36% 0.1801 0.0143)
OKLCHoklch(51.36% 0.181 4.5)
XYZxyz(21.3313, 11.7676, 10.8190)
Luminance0.1177 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4255A #25B47F
analogous
#B425A2 #B4255A #B43725
triadic
#B4255A #5AB425 #255AB4
tetradic
#B4255A #A2B425 #25B47F #3725B4
square
#B4255A #A2B425 #25B47F #3725B4
split-complementary
#B4255A #25B437 #25A2B4
monochromatic
#4E1027 #811B41 #B4255A #D73F77 #E2719B

Accessibility & contrast

On white

6.26
#B4255A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#B4255A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4255A
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4255A#FFFFFF#000000##FFFFFF
##B4255A1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4E5B
Deuteranopia (green-blind)
#6F6A57
Tritanopia (blue-blind)
#C4003D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b4255a;
/* rgb */ color: rgb(180, 37, 90);
/* oklch */ color: oklch(51.4% 0.181 4.5);
Tailwind
colors: {
  custom: {
    50: '#d16f88',
    500: '#b4255a',
    950: '#000000',
  },
}
SCSS
$custom: #b4255a;
$custom-light: #d16f88;
$custom-dark: #000000;
JSON
{
  "hex": "#b4255a",
  "rgb": {
    "r": 180,
    "g": 37,
    "b": 90
  },
  "hsl": {
    "h": 337.762,
    "s": 65.899,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51356,
    "c": 0.18068,
    "h": 4.5
  },
  "luminance": 0.11765
}

Semantic roles & 50–950 ramp

primary
#B4255A
secondary
#6CC9A6
accent
#E9AA3F
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B4255A

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

Preview Lab → · Contrast checker → · Palette generator →

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