#B4258A#B4258A

#B4258A is a mid, highly saturated pink. Relative luminance 0.129; OKLCH L 53.2% C 0.202 H 343.1°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#B4258A
RGBrgb(180, 37, 138)
HSLhsl(318, 66%, 43%)
HSVhsv(318, 79%, 71%)
CMYKcmyk(0%, 79.4%, 23.3%, 29.4%)
CIE-LABlab(42.56, 63.94, -21.92)
CIE-LCHlch(42.56, 67.60, 341.08°)
OKLaboklab(53.16% 0.193 -0.0587)
OKLCHoklch(53.16% 0.202 343.1)
XYZxyz(24.0723, 12.8640, 25.2551)
Luminance0.1286 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4258A #25B44F
analogous
#9625B4 #B4258A #B42543
triadic
#B4258A #8AB425 #258AB4
tetradic
#B4258A #B49625 #25B44F #2543B4
square
#B4258A #B49625 #25B44F #2543B4
split-complementary
#B4258A #43B425 #25B496
monochromatic
#4E103C #811B63 #B4258A #D73FAB #E271C1

Accessibility & contrast

On white

5.88
#B4258A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#B4258A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4258A
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4258A#FFFFFF#000000##FFFFFF
##B4258A1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36568D
Deuteranopia (green-blind)
#636D87
Tritanopia (blue-blind)
#C02656
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b4258a;
/* rgb */ color: rgb(180, 37, 138);
/* oklch */ color: oklch(53.2% 0.202 343.1);
Tailwind
colors: {
  custom: {
    50: '#cf70ac',
    500: '#b4258a',
    950: '#000000',
  },
}
SCSS
$custom: #b4258a;
$custom-light: #cf70ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b4258a",
  "rgb": {
    "r": 180,
    "g": 37,
    "b": 138
  },
  "hsl": {
    "h": 317.622,
    "s": 65.899,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53164,
    "c": 0.20176,
    "h": 343.1
  },
  "luminance": 0.12861
}

Semantic roles & 50–950 ramp

primary
#B4258A
secondary
#6CC987
accent
#E9713F
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B4258A

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

Preview Lab → · Contrast checker → · Palette generator →

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