#B4255B#B4255B

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

Color values

HEX#B4255B
RGBrgb(180, 37, 91)
HSLhsl(337, 66%, 43%)
HSVhsv(337, 79%, 71%)
CMYKcmyk(0%, 79.4%, 49.4%, 29.4%)
CIE-LABlab(40.87, 58.92, 4.78)
CIE-LCHlch(40.87, 59.11, 4.64°)
OKLaboklab(51.39% 0.1805 0.0128)
OKLCHoklch(51.39% 0.181 4.1)
XYZxyz(21.3742, 11.7847, 11.0447)
Luminance0.1178 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4255B #25B47E
analogous
#B425A2 #B4255B #B43725
triadic
#B4255B #5BB425 #255BB4
tetradic
#B4255B #A2B425 #25B47E #3725B4
square
#B4255B #A2B425 #25B47E #3725B4
split-complementary
#B4255B #25B437 #25A2B4
monochromatic
#4E1028 #811B41 #B4255B #D73F78 #E2719C

Accessibility & contrast

On white

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

On black

3.36
#B4255B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B4255B#FFFFFF#000000##FFFFFF
##B4255B1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494F5C
Deuteranopia (green-blind)
#6F6A58
Tritanopia (blue-blind)
#C4003D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b4255b;
/* rgb */ color: rgb(180, 37, 91);
/* oklch */ color: oklch(51.4% 0.181 4.1);
Tailwind
colors: {
  custom: {
    50: '#d16f89',
    500: '#b4255b',
    950: '#000000',
  },
}
SCSS
$custom: #b4255b;
$custom-light: #d16f89;
$custom-dark: #000000;
JSON
{
  "hex": "#b4255b",
  "rgb": {
    "r": 180,
    "g": 37,
    "b": 91
  },
  "hsl": {
    "h": 337.343,
    "s": 65.899,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51385,
    "c": 0.18093,
    "h": 4.1
  },
  "luminance": 0.11782
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B4255B

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

Preview Lab → · Contrast checker → · Palette generator →

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