#B4258C#B4258C

#B4258C is a mid, highly saturated pink. Relative luminance 0.129; OKLCH L 53.3% C 0.203 H 342.3°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#B4258C
RGBrgb(180, 37, 140)
HSLhsl(317, 66%, 43%)
HSVhsv(317, 79%, 71%)
CMYKcmyk(0%, 79.4%, 22.2%, 29.4%)
CIE-LABlab(42.65, 64.20, -23.00)
CIE-LCHlch(42.65, 68.20, 340.29°)
OKLaboklab(53.26% 0.1933 -0.0618)
OKLCHoklch(53.26% 0.203 342.3)
XYZxyz(24.2185, 12.9225, 26.0247)
Luminance0.1292 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4258C #25B44D
analogous
#9425B4 #B4258C #B42545
triadic
#B4258C #8CB425 #258CB4
tetradic
#B4258C #B49425 #25B44D #2545B4
square
#B4258C #B49425 #25B44D #2545B4
split-complementary
#B4258C #45B425 #25B494
monochromatic
#4E103D #811B65 #B4258C #D73FAD #E271C2

Accessibility & contrast

On white

5.86
#B4258C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B4258C
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4258C#FFFFFF#000000##FFFFFF
##B4258C1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35568F
Deuteranopia (green-blind)
#636D89
Tritanopia (blue-blind)
#C02757
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b4258c;
/* rgb */ color: rgb(180, 37, 140);
/* oklch */ color: oklch(53.3% 0.203 342.3);
Tailwind
colors: {
  custom: {
    50: '#cf70ae',
    500: '#b4258c',
    950: '#000000',
  },
}
SCSS
$custom: #b4258c;
$custom-light: #cf70ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b4258c",
  "rgb": {
    "r": 180,
    "g": 37,
    "b": 140
  },
  "hsl": {
    "h": 316.783,
    "s": 65.899,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53257,
    "c": 0.20297,
    "h": 342.3
  },
  "luminance": 0.1292
}

Semantic roles & 50–950 ramp

primary
#B4258C
secondary
#6CC986
accent
#E96E3F
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B4258C

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

Preview Lab → · Contrast checker → · Palette generator →

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