#B4298A#B4298A

#B4298A is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.4% C 0.198 H 343.2°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#B4298A
RGBrgb(180, 41, 138)
HSLhsl(318, 63%, 43%)
HSVhsv(318, 77%, 71%)
CMYKcmyk(0%, 77.2%, 23.3%, 29.4%)
CIE-LABlab(42.95, 62.81, -21.31)
CIE-LCHlch(42.95, 66.33, 341.26°)
OKLaboklab(53.45% 0.1895 -0.057)
OKLCHoklch(53.45% 0.198 343.2)
XYZxyz(24.2037, 13.1267, 25.2989)
Luminance0.1312 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4298A #29B453
analogous
#9829B4 #B4298A #B42945
triadic
#B4298A #8AB429 #298AB4
tetradic
#B4298A #B49829 #29B453 #2945B4
square
#B4298A #B49829 #29B453 #2945B4
split-complementary
#B4298A #45B429 #29B498
monochromatic
#50123E #821E64 #B4298A #D545A9 #E077C0

Accessibility & contrast

On white

5.79
#B4298A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#B4298A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4298A
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4298A#FFFFFF#000000##FFFFFF
##B4298A1.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39578D
Deuteranopia (green-blind)
#656E87
Tritanopia (blue-blind)
#C02957
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b4298a;
/* rgb */ color: rgb(180, 41, 138);
/* oklch */ color: oklch(53.4% 0.198 343.2);
Tailwind
colors: {
  custom: {
    50: '#cf72ac',
    500: '#b4298a',
    950: '#000000',
  },
}
SCSS
$custom: #b4298a;
$custom-light: #cf72ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b4298a",
  "rgb": {
    "r": 180,
    "g": 41,
    "b": 138
  },
  "hsl": {
    "h": 318.129,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.5345,
    "c": 0.19794,
    "h": 343.2
  },
  "luminance": 0.13124
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B4298A

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

Preview Lab → · Contrast checker → · Palette generator →

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