#B4258F#B4258F

#B4258F is a mid, highly saturated pink. Relative luminance 0.130; OKLCH L 53.4% C 0.205 H 341.1°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#B4258F
RGBrgb(180, 37, 143)
HSLhsl(316, 66%, 43%)
HSVhsv(316, 79%, 71%)
CMYKcmyk(0%, 79.4%, 20.6%, 29.4%)
CIE-LABlab(42.78, 64.59, -24.62)
CIE-LCHlch(42.78, 69.13, 339.13°)
OKLaboklab(53.4% 0.1938 -0.0664)
OKLCHoklch(53.4% 0.205 341.1)
XYZxyz(24.4427, 13.0122, 27.2056)
Luminance0.1301 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4258F #25B44A
analogous
#9125B4 #B4258F #B42548
triadic
#B4258F #8FB425 #258FB4
tetradic
#B4258F #B49125 #25B44A #2548B4
square
#B4258F #B49125 #25B44A #2548B4
split-complementary
#B4258F #48B425 #25B491
monochromatic
#4E103E #811B67 #B4258F #D73FB0 #E271C5

Accessibility & contrast

On white

5.83
#B4258F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#B4258F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4258F
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4258F#FFFFFF#000000##FFFFFF
##B4258F1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335692
Deuteranopia (green-blind)
#626D8C
Tritanopia (blue-blind)
#BF2958
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b4258f;
/* rgb */ color: rgb(180, 37, 143);
/* oklch */ color: oklch(53.4% 0.205 341.1);
Tailwind
colors: {
  custom: {
    50: '#cf71b0',
    500: '#b4258f',
    950: '#000000',
  },
}
SCSS
$custom: #b4258f;
$custom-light: #cf71b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b4258f",
  "rgb": {
    "r": 180,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 315.524,
    "s": 65.899,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53399,
    "c": 0.2048,
    "h": 341.1
  },
  "luminance": 0.1301
}

Semantic roles & 50–950 ramp

primary
#B4258F
secondary
#6CC984
accent
#E96B3F
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B4258F

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

Preview Lab → · Contrast checker → · Palette generator →

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