#B4249C#B4249C

#B4249C is a mid, highly saturated pink. Relative luminance 0.134; OKLCH L 54.0% C 0.214 H 336.2°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#B4249C
RGBrgb(180, 36, 156)
HSLhsl(310, 67%, 42%)
HSVhsv(310, 80%, 71%)
CMYKcmyk(0%, 80%, 13.3%, 29.4%)
CIE-LABlab(43.31, 66.63, -31.65)
CIE-LCHlch(43.31, 73.77, 334.59°)
OKLaboklab(53.98% 0.1959 -0.0864)
OKLCHoklch(53.98% 0.214 336.2)
XYZxyz(25.4545, 13.3678, 32.6857)
Luminance0.1336 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4249C #24B43C
analogous
#8424B4 #B4249C #B42454
triadic
#B4249C #9CB424 #249CB4
tetradic
#B4249C #B48424 #24B43C #2454B4
square
#B4249C #B48424 #24B43C #2454B4
split-complementary
#B4249C #54B424 #24B484
monochromatic
#4E1044 #811A70 #B4249C #D83DBE #E270CF

Accessibility & contrast

On white

5.72
#B4249C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#B4249C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4249C
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4249C#FFFFFF#000000##FFFFFF
##B4249C1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27599F
Deuteranopia (green-blind)
#5C6E99
Tritanopia (blue-blind)
#BE305F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b4249c;
/* rgb */ color: rgb(180, 36, 156);
/* oklch */ color: oklch(54.0% 0.214 336.2);
Tailwind
colors: {
  custom: {
    50: '#cf71b9',
    500: '#b4249c',
    950: '#000000',
  },
}
SCSS
$custom: #b4249c;
$custom-light: #cf71b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b4249c",
  "rgb": {
    "r": 180,
    "g": 36,
    "b": 156
  },
  "hsl": {
    "h": 310,
    "s": 66.667,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53982,
    "c": 0.21407,
    "h": 336.2
  },
  "luminance": 0.13365
}

Semantic roles & 50–950 ramp

primary
#B4249C
secondary
#6BC97A
accent
#EA5B3E
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B4249C

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

Preview Lab → · Contrast checker → · Palette generator →

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