#B4298E#B4298E

#B4298E is a mid, highly saturated pink. Relative luminance 0.132; OKLCH L 53.6% C 0.200 H 341.6°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#B4298E
RGBrgb(180, 41, 142)
HSLhsl(316, 63%, 43%)
HSVhsv(316, 77%, 71%)
CMYKcmyk(0%, 77.2%, 21.1%, 29.4%)
CIE-LABlab(43.13, 63.33, -23.47)
CIE-LCHlch(43.13, 67.54, 339.66°)
OKLaboklab(53.64% 0.1902 -0.0631)
OKLCHoklch(53.64% 0.2 341.6)
XYZxyz(24.4986, 13.2447, 26.8522)
Luminance0.1324 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4298E #29B44F
analogous
#9429B4 #B4298E #B42948
triadic
#B4298E #8EB429 #298EB4
tetradic
#B4298E #B49429 #29B44F #2948B4
square
#B4298E #B49429 #29B44F #2948B4
split-complementary
#B4298E #48B429 #29B494
monochromatic
#50123F #821E67 #B4298E #D545AE #E077C3

Accessibility & contrast

On white

5.76
#B4298E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#B4298E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4298E
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4298E#FFFFFF#000000##FFFFFF
##B4298E1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365891
Deuteranopia (green-blind)
#636E8B
Tritanopia (blue-blind)
#BF2C59
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b4298e;
/* rgb */ color: rgb(180, 41, 142);
/* oklch */ color: oklch(53.6% 0.200 341.6);
Tailwind
colors: {
  custom: {
    50: '#cf72af',
    500: '#b4298e',
    950: '#000000',
  },
}
SCSS
$custom: #b4298e;
$custom-light: #cf72af;
$custom-dark: #000000;
JSON
{
  "hex": "#b4298e",
  "rgb": {
    "r": 180,
    "g": 41,
    "b": 142
  },
  "hsl": {
    "h": 316.403,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53635,
    "c": 0.20038,
    "h": 341.6
  },
  "luminance": 0.13242
}

Semantic roles & 50–950 ramp

primary
#B4298E
secondary
#71C889
accent
#E66F42
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B4298E

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

Preview Lab → · Contrast checker → · Palette generator →

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