#B4297B#B4297B

#B4297B is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.8% C 0.190 H 349.6°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#B4297B
RGBrgb(180, 41, 123)
HSLhsl(325, 63%, 43%)
HSVhsv(325, 77%, 71%)
CMYKcmyk(0%, 77.2%, 31.7%, 29.4%)
CIE-LABlab(42.34, 60.97, -13.04)
CIE-LCHlch(42.34, 62.35, 347.93°)
OKLaboklab(52.81% 0.1865 -0.0341)
OKLCHoklch(52.81% 0.19 349.6)
XYZxyz(23.1918, 12.7220, 19.9693)
Luminance0.1272 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4297B #29B462
analogous
#A729B4 #B4297B #B42936
triadic
#B4297B #7BB429 #297BB4
tetradic
#B4297B #B4A729 #29B462 #2936B4
square
#B4297B #B4A729 #29B462 #2936B4
split-complementary
#B4297B #36B429 #29B4A7
monochromatic
#501237 #821E59 #B4297B #D5459A #E077B5

Accessibility & contrast

On white

5.93
#B4297B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#B4297B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4297B
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4297B#FFFFFF#000000##FFFFFF
##B4297B1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41547D
Deuteranopia (green-blind)
#696D78
Tritanopia (blue-blind)
#C1204F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b4297b;
/* rgb */ color: rgb(180, 41, 123);
/* oklch */ color: oklch(52.8% 0.190 349.6);
Tailwind
colors: {
  custom: {
    50: '#cf71a1',
    500: '#b4297b',
    950: '#000000',
  },
}
SCSS
$custom: #b4297b;
$custom-light: #cf71a1;
$custom-dark: #000000;
JSON
{
  "hex": "#b4297b",
  "rgb": {
    "r": 180,
    "g": 41,
    "b": 123
  },
  "hsl": {
    "h": 324.604,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52806,
    "c": 0.18956,
    "h": 349.6
  },
  "luminance": 0.12719
}

Semantic roles & 50–950 ramp

primary
#B4297B
secondary
#71C895
accent
#E68542
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090F
muted
#837B7E

Preview Lab

Preview with #B4297B

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

Preview Lab → · Contrast checker → · Palette generator →

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