#B42048#B42048

#B42048 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.5% C 0.182 H 12.2°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#B42048
RGBrgb(180, 32, 72)
HSLhsl(344, 70%, 42%)
HSVhsv(344, 82%, 71%)
CMYKcmyk(0%, 82.2%, 60%, 29.4%)
CIE-LABlab(39.93, 58.84, 15.50)
CIE-LCHlch(39.93, 60.85, 14.76°)
OKLaboklab(50.54% 0.1776 0.0383)
OKLCHoklch(50.54% 0.182 12.2)
XYZxyz(20.5107, 11.2073, 7.2129)
Luminance0.1120 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42048 #20B48C
analogous
#B42092 #B42048 #B44220
triadic
#B42048 #48B420 #2048B4
tetradic
#B42048 #92B420 #20B48C #4220B4
square
#B42048 #92B420 #20B48C #4220B4
split-complementary
#B42048 #20B442 #2092B4
monochromatic
#4C0E1E #801733 #B42048 #DB3663 #E46A8B

Accessibility & contrast

On white

6.48
#B42048 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#B42048 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42048
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42048#FFFFFF#000000##FFFFFF
##B420481.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4B48
Deuteranopia (green-blind)
#716944
Tritanopia (blue-blind)
#C50032
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b42048;
/* rgb */ color: rgb(180, 32, 72);
/* oklch */ color: oklch(50.5% 0.182 12.2);
Tailwind
colors: {
  custom: {
    50: '#d26c7a',
    500: '#b42048',
    950: '#000000',
  },
}
SCSS
$custom: #b42048;
$custom-light: #d26c7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b42048",
  "rgb": {
    "r": 180,
    "g": 32,
    "b": 72
  },
  "hsl": {
    "h": 343.784,
    "s": 69.811,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50538,
    "c": 0.18171,
    "h": 12.2
  },
  "luminance": 0.11204
}

Semantic roles & 50–950 ramp

primary
#B42048
secondary
#66CAAF
accent
#EDBD3B
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #B42048

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

Preview Lab → · Contrast checker → · Palette generator →

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