#B4297A#B4297A

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

Color values

HEX#B4297A
RGBrgb(180, 41, 122)
HSLhsl(325, 63%, 43%)
HSVhsv(325, 77%, 71%)
CMYKcmyk(0%, 77.2%, 32.2%, 29.4%)
CIE-LABlab(42.30, 60.85, -12.48)
CIE-LCHlch(42.30, 62.12, 348.41°)
OKLaboklab(52.77% 0.1862 -0.0326)
OKLCHoklch(52.77% 0.189 350.1)
XYZxyz(23.1295, 12.6971, 19.6413)
Luminance0.1269 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4297A #29B463
analogous
#A829B4 #B4297A #B42934
triadic
#B4297A #7AB429 #297AB4
tetradic
#B4297A #B4A829 #29B463 #2934B4
square
#B4297A #B4A829 #29B463 #2934B4
split-complementary
#B4297A #34B429 #29B4A8
monochromatic
#501236 #821E58 #B4297A #D54599 #E077B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4297A#FFFFFF#000000##FFFFFF
##B4297A1.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)
#41547C
Deuteranopia (green-blind)
#696D77
Tritanopia (blue-blind)
#C21F4E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b4297a;
/* rgb */ color: rgb(180, 41, 122);
/* oklch */ color: oklch(52.8% 0.189 350.1);
Tailwind
colors: {
  custom: {
    50: '#cf71a0',
    500: '#b4297a',
    950: '#000000',
  },
}
SCSS
$custom: #b4297a;
$custom-light: #cf71a0;
$custom-dark: #000000;
JSON
{
  "hex": "#b4297a",
  "rgb": {
    "r": 180,
    "g": 41,
    "b": 122
  },
  "hsl": {
    "h": 325.036,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52766,
    "c": 0.18905,
    "h": 350.1
  },
  "luminance": 0.12694
}

Semantic roles & 50–950 ramp

primary
#B4297A
secondary
#71C895
accent
#E68642
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #B4297A

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

Preview Lab → · Contrast checker → · Palette generator →

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