#B4298D#B4298D

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

Color values

HEX#B4298D
RGBrgb(180, 41, 141)
HSLhsl(317, 63%, 43%)
HSVhsv(317, 77%, 71%)
CMYKcmyk(0%, 77.2%, 21.7%, 29.4%)
CIE-LABlab(43.09, 63.20, -22.93)
CIE-LCHlch(43.09, 67.23, 340.06°)
OKLaboklab(53.59% 0.19 -0.0616)
OKLCHoklch(53.59% 0.2 342)
XYZxyz(24.4239, 13.2148, 26.4586)
Luminance0.1321 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4298D #29B450
analogous
#9529B4 #B4298D #B42947
triadic
#B4298D #8DB429 #298DB4
tetradic
#B4298D #B49529 #29B450 #2947B4
square
#B4298D #B49529 #29B450 #2947B4
split-complementary
#B4298D #47B429 #29B495
monochromatic
#50123F #821E66 #B4298D #D545AD #E077C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4298D#FFFFFF#000000##FFFFFF
##B4298D1.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)
#375790
Deuteranopia (green-blind)
#636E8A
Tritanopia (blue-blind)
#BF2B58
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b4298d;
/* rgb */ color: rgb(180, 41, 141);
/* oklch */ color: oklch(53.6% 0.200 342.0);
Tailwind
colors: {
  custom: {
    50: '#cf72ae',
    500: '#b4298d',
    950: '#000000',
  },
}
SCSS
$custom: #b4298d;
$custom-light: #cf72ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b4298d",
  "rgb": {
    "r": 180,
    "g": 41,
    "b": 141
  },
  "hsl": {
    "h": 316.835,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53589,
    "c": 0.19976,
    "h": 342
  },
  "luminance": 0.13212
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B4298D

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

Preview Lab → · Contrast checker → · Palette generator →

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