#B4258E#B4258E

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

Color values

HEX#B4258E
RGBrgb(180, 37, 142)
HSLhsl(316, 66%, 43%)
HSVhsv(316, 79%, 71%)
CMYKcmyk(0%, 79.4%, 21.1%, 29.4%)
CIE-LABlab(42.74, 64.46, -24.08)
CIE-LCHlch(42.74, 68.81, 339.51°)
OKLaboklab(53.35% 0.1936 -0.0648)
OKLCHoklch(53.35% 0.204 341.5)
XYZxyz(24.3673, 12.9820, 26.8084)
Luminance0.1298 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4258E #25B44B
analogous
#9325B4 #B4258E #B42546
triadic
#B4258E #8EB425 #258EB4
tetradic
#B4258E #B49325 #25B44B #2546B4
square
#B4258E #B49325 #25B44B #2546B4
split-complementary
#B4258E #46B425 #25B493
monochromatic
#4E103E #811B66 #B4258E #D73FAF #E271C4

Accessibility & contrast

On white

5.84
#B4258E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B4258E
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4258E#FFFFFF#000000##FFFFFF
##B4258E1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335691
Deuteranopia (green-blind)
#626D8B
Tritanopia (blue-blind)
#BF2858
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b4258e;
/* rgb */ color: rgb(180, 37, 142);
/* oklch */ color: oklch(53.4% 0.204 341.5);
Tailwind
colors: {
  custom: {
    50: '#cf71af',
    500: '#b4258e',
    950: '#000000',
  },
}
SCSS
$custom: #b4258e;
$custom-light: #cf71af;
$custom-dark: #000000;
JSON
{
  "hex": "#b4258e",
  "rgb": {
    "r": 180,
    "g": 37,
    "b": 142
  },
  "hsl": {
    "h": 315.944,
    "s": 65.899,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53351,
    "c": 0.20419,
    "h": 341.5
  },
  "luminance": 0.12979
}

Semantic roles & 50–950 ramp

primary
#B4258E
secondary
#6CC985
accent
#E96C3F
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B4258E

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

Preview Lab → · Contrast checker → · Palette generator →

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