#B4298C#B4298C

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

Color values

HEX#B4298C
RGBrgb(180, 41, 140)
HSLhsl(317, 63%, 43%)
HSVhsv(317, 77%, 71%)
CMYKcmyk(0%, 77.2%, 22.2%, 29.4%)
CIE-LABlab(43.04, 63.07, -22.39)
CIE-LCHlch(43.04, 66.93, 340.45°)
OKLaboklab(53.54% 0.1899 -0.0601)
OKLCHoklch(53.54% 0.199 342.4)
XYZxyz(24.3498, 13.1852, 26.0685)
Luminance0.1318 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4298C #29B451
analogous
#9629B4 #B4298C #B42946
triadic
#B4298C #8CB429 #298CB4
tetradic
#B4298C #B49629 #29B451 #2946B4
square
#B4298C #B49629 #29B451 #2946B4
split-complementary
#B4298C #46B429 #29B496
monochromatic
#50123E #821E65 #B4298C #D545AC #E077C2

Accessibility & contrast

On white

5.77
#B4298C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#B4298C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4298C
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4298C#FFFFFF#000000##FFFFFF
##B4298C1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38578F
Deuteranopia (green-blind)
#646E89
Tritanopia (blue-blind)
#C02A58
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b4298c;
/* rgb */ color: rgb(180, 41, 140);
/* oklch */ color: oklch(53.5% 0.199 342.4);
Tailwind
colors: {
  custom: {
    50: '#cf72ae',
    500: '#b4298c',
    950: '#000000',
  },
}
SCSS
$custom: #b4298c;
$custom-light: #cf72ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b4298c",
  "rgb": {
    "r": 180,
    "g": 41,
    "b": 140
  },
  "hsl": {
    "h": 317.266,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53542,
    "c": 0.19915,
    "h": 342.4
  },
  "luminance": 0.13183
}

Semantic roles & 50–950 ramp

primary
#B4298C
secondary
#71C88A
accent
#E67142
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B4298C

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

Preview Lab → · Contrast checker → · Palette generator →

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