#B4248C#B4248C

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

Color values

HEX#B4248C
RGBrgb(180, 36, 140)
HSLhsl(317, 67%, 42%)
HSVhsv(317, 80%, 71%)
CMYKcmyk(0%, 80%, 22.2%, 29.4%)
CIE-LABlab(42.55, 64.47, -23.15)
CIE-LCHlch(42.55, 68.50, 340.25°)
OKLaboklab(53.19% 0.1942 -0.0622)
OKLCHoklch(53.19% 0.204 342.2)
XYZxyz(24.1878, 12.8611, 26.0145)
Luminance0.1286 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4248C #24B44C
analogous
#9424B4 #B4248C #B42444
triadic
#B4248C #8CB424 #248CB4
tetradic
#B4248C #B49424 #24B44C #2444B4
square
#B4248C #B49424 #24B44C #2444B4
split-complementary
#B4248C #44B424 #24B494
monochromatic
#4E103D #811A64 #B4248C #D83DAD #E270C3

Accessibility & contrast

On white

5.88
#B4248C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#B4248C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4248C
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4248C#FFFFFF#000000##FFFFFF
##B4248C1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34568F
Deuteranopia (green-blind)
#626D89
Tritanopia (blue-blind)
#C02656
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b4248c;
/* rgb */ color: rgb(180, 36, 140);
/* oklch */ color: oklch(53.2% 0.204 342.2);
Tailwind
colors: {
  custom: {
    50: '#cf70ae',
    500: '#b4248c',
    950: '#000000',
  },
}
SCSS
$custom: #b4248c;
$custom-light: #cf70ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b4248c",
  "rgb": {
    "r": 180,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 316.667,
    "s": 66.667,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5319,
    "c": 0.20387,
    "h": 342.2
  },
  "luminance": 0.12859
}

Semantic roles & 50–950 ramp

primary
#B4248C
secondary
#6BC985
accent
#EA6E3E
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B4248C

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

Preview Lab → · Contrast checker → · Palette generator →

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