#B42148#B42148

#B42148 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.6% C 0.181 H 12.3°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#B42148
RGBrgb(180, 33, 72)
HSLhsl(344, 69%, 42%)
HSVhsv(344, 82%, 71%)
CMYKcmyk(0%, 81.7%, 60%, 29.4%)
CIE-LABlab(40.02, 58.58, 15.62)
CIE-LCHlch(40.02, 60.63, 14.93°)
OKLaboklab(50.61% 0.1768 0.0386)
OKLCHoklch(50.61% 0.181 12.3)
XYZxyz(20.5381, 11.2620, 7.2220)
Luminance0.1126 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42148 #21B48D
analogous
#B42192 #B42148 #B44421
triadic
#B42148 #48B421 #2148B4
tetradic
#B42148 #92B421 #21B48D #4421B4
square
#B42148 #92B421 #21B48D #4421B4
split-complementary
#B42148 #21B444 #2192B4
monochromatic
#4D0E1F #801833 #B42148 #DA3863 #E46B8B

Accessibility & contrast

On white

6.46
#B42148 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#B42148 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42148
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42148#FFFFFF#000000##FFFFFF
##B421481.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.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: #b42148;
/* rgb */ color: rgb(180, 33, 72);
/* oklch */ color: oklch(50.6% 0.181 12.3);
Tailwind
colors: {
  custom: {
    50: '#d26d7a',
    500: '#b42148',
    950: '#000000',
  },
}
SCSS
$custom: #b42148;
$custom-light: #d26d7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b42148",
  "rgb": {
    "r": 180,
    "g": 33,
    "b": 72
  },
  "hsl": {
    "h": 344.082,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50605,
    "c": 0.18096,
    "h": 12.3
  },
  "luminance": 0.11259
}

Semantic roles & 50–950 ramp

primary
#B42148
secondary
#67CAB0
accent
#ECBD3C
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #B42148

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

Preview Lab → · Contrast checker → · Palette generator →

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