#B4259C#B4259C

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

Color values

HEX#B4259C
RGBrgb(180, 37, 156)
HSLhsl(310, 66%, 43%)
HSVhsv(310, 79%, 71%)
CMYKcmyk(0%, 79.4%, 13.3%, 29.4%)
CIE-LABlab(43.40, 66.37, -31.51)
CIE-LCHlch(43.40, 73.47, 334.60°)
OKLaboklab(54.05% 0.1951 -0.086)
OKLCHoklch(54.05% 0.213 336.2)
XYZxyz(25.4852, 13.4291, 32.6959)
Luminance0.1343 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4259C #25B43D
analogous
#8525B4 #B4259C #B42554
triadic
#B4259C #9CB425 #259CB4
tetradic
#B4259C #B48525 #25B43D #2554B4
square
#B4259C #B48525 #25B43D #2554B4
split-complementary
#B4259C #54B425 #25B485
monochromatic
#4E1044 #811B70 #B4259C #D73FBE #E271CF

Accessibility & contrast

On white

5.70
#B4259C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#B4259C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4259C
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4259C#FFFFFF#000000##FFFFFF
##B4259C1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28599F
Deuteranopia (green-blind)
#5C6E99
Tritanopia (blue-blind)
#BE3160
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b4259c;
/* rgb */ color: rgb(180, 37, 156);
/* oklch */ color: oklch(54.0% 0.213 336.2);
Tailwind
colors: {
  custom: {
    50: '#cf71b9',
    500: '#b4259c',
    950: '#000000',
  },
}
SCSS
$custom: #b4259c;
$custom-light: #cf71b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b4259c",
  "rgb": {
    "r": 180,
    "g": 37,
    "b": 156
  },
  "hsl": {
    "h": 310.07,
    "s": 65.899,
    "l": 42.549
  },
  "oklch": {
    "l": 0.54047,
    "c": 0.21319,
    "h": 336.2
  },
  "luminance": 0.13427
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B4259C

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

Preview Lab → · Contrast checker → · Palette generator →

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