#B4297E#B4297E

#B4297E is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.9% C 0.191 H 348.3°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#B4297E
RGBrgb(180, 41, 126)
HSLhsl(323, 63%, 43%)
HSVhsv(323, 77%, 71%)
CMYKcmyk(0%, 77.2%, 30%, 29.4%)
CIE-LABlab(42.46, 61.32, -14.72)
CIE-LCHlch(42.46, 63.06, 346.51°)
OKLaboklab(52.93% 0.1872 -0.0387)
OKLCHoklch(52.93% 0.191 348.3)
XYZxyz(23.3824, 12.7982, 20.9736)
Luminance0.1280 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4297E #29B45F
analogous
#A429B4 #B4297E #B42939
triadic
#B4297E #7EB429 #297EB4
tetradic
#B4297E #B4A429 #29B45F #2939B4
square
#B4297E #B4A429 #29B45F #2939B4
split-complementary
#B4297E #39B429 #29B4A4
monochromatic
#501238 #821E5B #B4297E #D5459D #E077B7

Accessibility & contrast

On white

5.90
#B4297E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#B4297E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4297E
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4297E#FFFFFF#000000##FFFFFF
##B4297E1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5580
Deuteranopia (green-blind)
#686D7B
Tritanopia (blue-blind)
#C12250
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b4297e;
/* rgb */ color: rgb(180, 41, 126);
/* oklch */ color: oklch(52.9% 0.191 348.3);
Tailwind
colors: {
  custom: {
    50: '#cf71a3',
    500: '#b4297e',
    950: '#000000',
  },
}
SCSS
$custom: #b4297e;
$custom-light: #cf71a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b4297e",
  "rgb": {
    "r": 180,
    "g": 41,
    "b": 126
  },
  "hsl": {
    "h": 323.309,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52928,
    "c": 0.19113,
    "h": 348.3
  },
  "luminance": 0.12796
}

Semantic roles & 50–950 ramp

primary
#B4297E
secondary
#71C893
accent
#E68242
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B4297E

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

Preview Lab → · Contrast checker → · Palette generator →

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