#B4297D#B4297D

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

Color values

HEX#B4297D
RGBrgb(180, 41, 125)
HSLhsl(324, 63%, 43%)
HSVhsv(324, 77%, 71%)
CMYKcmyk(0%, 77.2%, 30.6%, 29.4%)
CIE-LABlab(42.42, 61.20, -14.16)
CIE-LCHlch(42.42, 62.82, 346.97°)
OKLaboklab(52.89% 0.1869 -0.0372)
OKLCHoklch(52.89% 0.191 348.8)
XYZxyz(23.3182, 12.7726, 20.6354)
Luminance0.1277 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4297D #29B460
analogous
#A529B4 #B4297D #B42937
triadic
#B4297D #7DB429 #297DB4
tetradic
#B4297D #B4A529 #29B460 #2937B4
square
#B4297D #B4A529 #29B460 #2937B4
split-complementary
#B4297D #37B429 #29B4A5
monochromatic
#501238 #821E5A #B4297D #D5459C #E077B7

Accessibility & contrast

On white

5.91
#B4297D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B4297D
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4297D#FFFFFF#000000##FFFFFF
##B4297D1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40557F
Deuteranopia (green-blind)
#696D7A
Tritanopia (blue-blind)
#C12150
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b4297d;
/* rgb */ color: rgb(180, 41, 125);
/* oklch */ color: oklch(52.9% 0.191 348.8);
Tailwind
colors: {
  custom: {
    50: '#cf71a2',
    500: '#b4297d',
    950: '#000000',
  },
}
SCSS
$custom: #b4297d;
$custom-light: #cf71a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b4297d",
  "rgb": {
    "r": 180,
    "g": 41,
    "b": 125
  },
  "hsl": {
    "h": 323.741,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52887,
    "c": 0.1906,
    "h": 348.8
  },
  "luminance": 0.1277
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B4297D

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

Preview Lab → · Contrast checker → · Palette generator →

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