#B42A58#B42A58

#B42A58 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.7% C 0.176 H 6.2°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#B42A58
RGBrgb(180, 42, 88)
HSLhsl(340, 62%, 44%)
HSVhsv(340, 77%, 71%)
CMYKcmyk(0%, 76.7%, 51.1%, 29.4%)
CIE-LABlab(41.32, 57.17, 7.31)
CIE-LCHlch(41.32, 57.63, 7.29°)
OKLaboklab(51.69% 0.1745 0.0191)
OKLCHoklch(51.69% 0.176 6.2)
XYZxyz(21.4137, 12.0668, 10.4322)
Luminance0.1206 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42A58 #2AB486
analogous
#B42A9D #B42A58 #B4412A
triadic
#B42A58 #58B42A #2A58B4
tetradic
#B42A58 #9DB42A #2AB486 #412AB4
square
#B42A58 #9DB42A #2AB486 #412AB4
split-complementary
#B42A58 #2AB441 #2A9DB4
monochromatic
#511327 #821E40 #B42A58 #D44776 #E0799B

Accessibility & contrast

On white

6.15
#B42A58 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#B42A58 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42A58
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42A58#FFFFFF#000000##FFFFFF
##B42A581.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5059
Deuteranopia (green-blind)
#716B55
Tritanopia (blue-blind)
#C4013E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b42a58;
/* rgb */ color: rgb(180, 42, 88);
/* oklch */ color: oklch(51.7% 0.176 6.2);
Tailwind
colors: {
  custom: {
    50: '#d17186',
    500: '#b42a58',
    950: '#000000',
  },
}
SCSS
$custom: #b42a58;
$custom-light: #d17186;
$custom-dark: #000000;
JSON
{
  "hex": "#b42a58",
  "rgb": {
    "r": 180,
    "g": 42,
    "b": 88
  },
  "hsl": {
    "h": 340,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.5169,
    "c": 0.17558,
    "h": 6.2
  },
  "luminance": 0.12064
}

Semantic roles & 50–950 ramp

primary
#B42A58
secondary
#72C8AB
accent
#E5AF43
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B42A58

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

Preview Lab → · Contrast checker → · Palette generator →

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