#B4297C#B4297C

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

Color values

HEX#B4297C
RGBrgb(180, 41, 124)
HSLhsl(324, 63%, 43%)
HSVhsv(324, 77%, 71%)
CMYKcmyk(0%, 77.2%, 31.1%, 29.4%)
CIE-LABlab(42.38, 61.09, -13.60)
CIE-LCHlch(42.38, 62.58, 347.45°)
OKLaboklab(52.85% 0.1867 -0.0356)
OKLCHoklch(52.85% 0.19 349.2)
XYZxyz(23.2547, 12.7471, 20.3007)
Luminance0.1274 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4297C #29B461
analogous
#A629B4 #B4297C #B42936
triadic
#B4297C #7CB429 #297CB4
tetradic
#B4297C #B4A629 #29B461 #2936B4
square
#B4297C #B4A629 #29B461 #2936B4
split-complementary
#B4297C #36B429 #29B4A6
monochromatic
#501237 #821E5A #B4297C #D5459B #E077B6

Accessibility & contrast

On white

5.92
#B4297C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#B4297C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4297C
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4297C#FFFFFF#000000##FFFFFF
##B4297C1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40547E
Deuteranopia (green-blind)
#696D79
Tritanopia (blue-blind)
#C1204F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b4297c;
/* rgb */ color: rgb(180, 41, 124);
/* oklch */ color: oklch(52.8% 0.190 349.2);
Tailwind
colors: {
  custom: {
    50: '#cf71a2',
    500: '#b4297c',
    950: '#000000',
  },
}
SCSS
$custom: #b4297c;
$custom-light: #cf71a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b4297c",
  "rgb": {
    "r": 180,
    "g": 41,
    "b": 124
  },
  "hsl": {
    "h": 324.173,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52846,
    "c": 0.19008,
    "h": 349.2
  },
  "luminance": 0.12744
}

Semantic roles & 50–950 ramp

primary
#B4297C
secondary
#71C894
accent
#E68442
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090F
muted
#837B7E

Preview Lab

Preview with #B4297C

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

Preview Lab → · Contrast checker → · Palette generator →

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