#B4298B#B4298B

#B4298B is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.5% C 0.199 H 342.8°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#B4298B
RGBrgb(180, 41, 139)
HSLhsl(318, 63%, 43%)
HSVhsv(318, 77%, 71%)
CMYKcmyk(0%, 77.2%, 22.8%, 29.4%)
CIE-LABlab(43.00, 62.94, -21.85)
CIE-LCHlch(43.00, 66.63, 340.85°)
OKLaboklab(53.5% 0.1897 -0.0586)
OKLCHoklch(53.5% 0.199 342.8)
XYZxyz(24.2764, 13.1558, 25.6819)
Luminance0.1315 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4298B #29B452
analogous
#9729B4 #B4298B #B42945
triadic
#B4298B #8BB429 #298BB4
tetradic
#B4298B #B49729 #29B452 #2945B4
square
#B4298B #B49729 #29B452 #2945B4
split-complementary
#B4298B #45B429 #29B497
monochromatic
#50123E #821E65 #B4298B #D545AA #E077C1

Accessibility & contrast

On white

5.78
#B4298B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#B4298B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4298B
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4298B#FFFFFF#000000##FFFFFF
##B4298B1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38578E
Deuteranopia (green-blind)
#646E88
Tritanopia (blue-blind)
#C02A57
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b4298b;
/* rgb */ color: rgb(180, 41, 139);
/* oklch */ color: oklch(53.5% 0.199 342.8);
Tailwind
colors: {
  custom: {
    50: '#cf72ad',
    500: '#b4298b',
    950: '#000000',
  },
}
SCSS
$custom: #b4298b;
$custom-light: #cf72ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b4298b",
  "rgb": {
    "r": 180,
    "g": 41,
    "b": 139
  },
  "hsl": {
    "h": 317.698,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53496,
    "c": 0.19854,
    "h": 342.8
  },
  "luminance": 0.13153
}

Semantic roles & 50–950 ramp

primary
#B4298B
secondary
#71C88B
accent
#E67242
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B4298B

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

Preview Lab → · Contrast checker → · Palette generator →

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