#B4248D#B4248D

#B4248D is a mid, highly saturated pink. Relative luminance 0.129; OKLCH L 53.2% C 0.204 H 341.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#B4248D
RGBrgb(180, 36, 141)
HSLhsl(316, 67%, 42%)
HSVhsv(316, 80%, 71%)
CMYKcmyk(0%, 80%, 21.7%, 29.4%)
CIE-LABlab(42.60, 64.60, -23.69)
CIE-LCHlch(42.60, 68.80, 339.86°)
OKLaboklab(53.24% 0.1943 -0.0637)
OKLCHoklch(53.24% 0.204 341.8)
XYZxyz(24.2619, 12.8907, 26.4046)
Luminance0.1289 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4248D #24B44B
analogous
#9324B4 #B4248D #B42445
triadic
#B4248D #8DB424 #248DB4
tetradic
#B4248D #B49324 #24B44B #2445B4
square
#B4248D #B49324 #24B44B #2445B4
split-complementary
#B4248D #45B424 #24B493
monochromatic
#4E103D #811A65 #B4248D #D83DAE #E270C3

Accessibility & contrast

On white

5.87
#B4248D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#B4248D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4248D
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4248D#FFFFFF#000000##FFFFFF
##B4248D1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335690
Deuteranopia (green-blind)
#626D8A
Tritanopia (blue-blind)
#C02757
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b4248d;
/* rgb */ color: rgb(180, 36, 141);
/* oklch */ color: oklch(53.2% 0.204 341.8);
Tailwind
colors: {
  custom: {
    50: '#cf70ae',
    500: '#b4248d',
    950: '#000000',
  },
}
SCSS
$custom: #b4248d;
$custom-light: #cf70ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b4248d",
  "rgb": {
    "r": 180,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 316.25,
    "s": 66.667,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53237,
    "c": 0.20447,
    "h": 341.8
  },
  "luminance": 0.12888
}

Semantic roles & 50–950 ramp

primary
#B4248D
secondary
#6BC984
accent
#EA6D3E
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B4248D

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

Preview Lab → · Contrast checker → · Palette generator →

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