#B4258B#B4258B

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

Color values

HEX#B4258B
RGBrgb(180, 37, 139)
HSLhsl(317, 66%, 43%)
HSVhsv(317, 79%, 71%)
CMYKcmyk(0%, 79.4%, 22.8%, 29.4%)
CIE-LABlab(42.60, 64.07, -22.46)
CIE-LCHlch(42.60, 67.90, 340.68°)
OKLaboklab(53.21% 0.1932 -0.0603)
OKLCHoklch(53.21% 0.202 342.7)
XYZxyz(24.1451, 12.8931, 25.6382)
Luminance0.1289 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4258B #25B44E
analogous
#9625B4 #B4258B #B42543
triadic
#B4258B #8BB425 #258BB4
tetradic
#B4258B #B49625 #25B44E #2543B4
square
#B4258B #B49625 #25B44E #2543B4
split-complementary
#B4258B #43B425 #25B496
monochromatic
#4E103D #811B64 #B4258B #D73FAC #E271C2

Accessibility & contrast

On white

5.87
#B4258B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#B4258B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4258B
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4258B#FFFFFF#000000##FFFFFF
##B4258B1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35568E
Deuteranopia (green-blind)
#636D88
Tritanopia (blue-blind)
#C02656
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b4258b;
/* rgb */ color: rgb(180, 37, 139);
/* oklch */ color: oklch(53.2% 0.202 342.7);
Tailwind
colors: {
  custom: {
    50: '#cf70ad',
    500: '#b4258b',
    950: '#000000',
  },
}
SCSS
$custom: #b4258b;
$custom-light: #cf70ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b4258b",
  "rgb": {
    "r": 180,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 317.203,
    "s": 65.899,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5321,
    "c": 0.20236,
    "h": 342.7
  },
  "luminance": 0.12891
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B4258B

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

Preview Lab → · Contrast checker → · Palette generator →

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