#B42458#B42458

#B42458 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.2% C 0.181 H 5.3°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#B42458
RGBrgb(180, 36, 88)
HSLhsl(338, 67%, 42%)
HSVhsv(338, 80%, 71%)
CMYKcmyk(0%, 80%, 51.1%, 29.4%)
CIE-LABlab(40.69, 58.95, 6.42)
CIE-LCHlch(40.69, 59.30, 6.21°)
OKLaboklab(51.23% 0.1803 0.0168)
OKLCHoklch(51.23% 0.181 5.3)
XYZxyz(21.2166, 11.6726, 10.3665)
Luminance0.1167 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42458 #24B480
analogous
#B424A0 #B42458 #B43824
triadic
#B42458 #58B424 #2458B4
tetradic
#B42458 #A0B424 #24B480 #3824B4
square
#B42458 #A0B424 #24B480 #3824B4
split-complementary
#B42458 #24B438 #24A0B4
monochromatic
#4E1026 #811A3F #B42458 #D83D75 #E27099

Accessibility & contrast

On white

6.30
#B42458 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#B42458 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42458
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42458#FFFFFF#000000##FFFFFF
##B424581.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4E59
Deuteranopia (green-blind)
#706A55
Tritanopia (blue-blind)
#C4003B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b42458;
/* rgb */ color: rgb(180, 36, 88);
/* oklch */ color: oklch(51.2% 0.181 5.3);
Tailwind
colors: {
  custom: {
    50: '#d16e86',
    500: '#b42458',
    950: '#000000',
  },
}
SCSS
$custom: #b42458;
$custom-light: #d16e86;
$custom-dark: #000000;
JSON
{
  "hex": "#b42458",
  "rgb": {
    "r": 180,
    "g": 36,
    "b": 88
  },
  "hsl": {
    "h": 338.333,
    "s": 66.667,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51226,
    "c": 0.18108,
    "h": 5.3
  },
  "luminance": 0.1167
}

Semantic roles & 50–950 ramp

primary
#B42458
secondary
#6BC9A7
accent
#EAAC3E
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B42458

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

Preview Lab → · Contrast checker → · Palette generator →

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