#B4259B#B4259B

#B4259B is a mid, highly saturated pink. Relative luminance 0.134; OKLCH L 54.0% C 0.213 H 336.6°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#B4259B
RGBrgb(180, 37, 155)
HSLhsl(310, 66%, 43%)
HSVhsv(310, 79%, 71%)
CMYKcmyk(0%, 79.4%, 13.9%, 29.4%)
CIE-LABlab(43.35, 66.23, -30.99)
CIE-LCHlch(43.35, 73.12, 334.93°)
OKLaboklab(54% 0.195 -0.0845)
OKLCHoklch(54% 0.213 336.6)
XYZxyz(25.4008, 13.3954, 32.2518)
Luminance0.1339 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4259B #25B43E
analogous
#8625B4 #B4259B #B42553
triadic
#B4259B #9BB425 #259BB4
tetradic
#B4259B #B48625 #25B43E #2553B4
square
#B4259B #B48625 #25B43E #2553B4
split-complementary
#B4259B #53B425 #25B486
monochromatic
#4E1044 #811B6F #B4259B #D73FBD #E271CE

Accessibility & contrast

On white

5.71
#B4259B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#B4259B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4259B
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4259B#FFFFFF#000000##FFFFFF
##B4259B1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29599E
Deuteranopia (green-blind)
#5D6E98
Tritanopia (blue-blind)
#BE305F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b4259b;
/* rgb */ color: rgb(180, 37, 155);
/* oklch */ color: oklch(54.0% 0.213 336.6);
Tailwind
colors: {
  custom: {
    50: '#cf71b9',
    500: '#b4259b',
    950: '#000000',
  },
}
SCSS
$custom: #b4259b;
$custom-light: #cf71b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b4259b",
  "rgb": {
    "r": 180,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 310.49,
    "s": 65.899,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53996,
    "c": 0.21252,
    "h": 336.6
  },
  "luminance": 0.13393
}

Semantic roles & 50–950 ramp

primary
#B4259B
secondary
#6CC97C
accent
#E95D3F
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B4259B

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

Preview Lab → · Contrast checker → · Palette generator →

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