#B4298F#B4298F

#B4298F is a mid, highly saturated pink. Relative luminance 0.133; OKLCH L 53.7% C 0.201 H 341.2°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#B4298F
RGBrgb(180, 41, 143)
HSLhsl(316, 63%, 43%)
HSVhsv(316, 77%, 71%)
CMYKcmyk(0%, 77.2%, 20.6%, 29.4%)
CIE-LABlab(43.17, 63.47, -24.01)
CIE-LCHlch(43.17, 67.86, 339.28°)
OKLaboklab(53.68% 0.1903 -0.0647)
OKLCHoklch(53.68% 0.201 341.2)
XYZxyz(24.5741, 13.2749, 27.2494)
Luminance0.1327 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4298F #29B44E
analogous
#9329B4 #B4298F #B42949
triadic
#B4298F #8FB429 #298FB4
tetradic
#B4298F #B49329 #29B44E #2949B4
square
#B4298F #B49329 #29B44E #2949B4
split-complementary
#B4298F #49B429 #29B493
monochromatic
#501240 #821E67 #B4298F #D545AF #E077C4

Accessibility & contrast

On white

5.75
#B4298F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B4298F
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4298F#FFFFFF#000000##FFFFFF
##B4298F1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4298f;
/* rgb */ color: rgb(180, 41, 143);
/* oklch */ color: oklch(53.7% 0.201 341.2);
Tailwind
colors: {
  custom: {
    50: '#cf72b0',
    500: '#b4298f',
    950: '#000000',
  },
}
SCSS
$custom: #b4298f;
$custom-light: #cf72b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b4298f",
  "rgb": {
    "r": 180,
    "g": 41,
    "b": 143
  },
  "hsl": {
    "h": 315.971,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53682,
    "c": 0.201,
    "h": 341.2
  },
  "luminance": 0.13272
}

Semantic roles & 50–950 ramp

primary
#B4298F
secondary
#71C888
accent
#E66E42
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B4298F

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

Preview Lab → · Contrast checker → · Palette generator →

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