#B42E58#B42E58

#B42E58 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.0% C 0.172 H 6.9°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#B42E58
RGBrgb(180, 46, 88)
HSLhsl(341, 59%, 44%)
HSVhsv(341, 74%, 71%)
CMYKcmyk(0%, 74.4%, 51.1%, 29.4%)
CIE-LABlab(41.79, 55.85, 7.98)
CIE-LCHlch(41.79, 56.42, 8.13°)
OKLaboklab(52.04% 0.1703 0.0207)
OKLCHoklch(52.04% 0.172 6.9)
XYZxyz(21.5627, 12.3648, 10.4818)
Luminance0.1236 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42E58 #2EB48A
analogous
#B42E9B #B42E58 #B4472E
triadic
#B42E58 #58B42E #2E58B4
tetradic
#B42E58 #9BB42E #2EB48A #472EB4
square
#B42E58 #9BB42E #2EB48A #472EB4
split-complementary
#B42E58 #2EB447 #2E9BB4
monochromatic
#531528 #832240 #B42E58 #D24E77 #DE7E9C

Accessibility & contrast

On white

6.05
#B42E58 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#B42E58 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42E58
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42E58#FFFFFF#000000##FFFFFF
##B42E581.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5259
Deuteranopia (green-blind)
#726C55
Tritanopia (blue-blind)
#C40D40
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b42e58;
/* rgb */ color: rgb(180, 46, 88);
/* oklch */ color: oklch(52.0% 0.172 6.9);
Tailwind
colors: {
  custom: {
    50: '#d07286',
    500: '#b42e58',
    950: '#000000',
  },
}
SCSS
$custom: #b42e58;
$custom-light: #d07286;
$custom-dark: #000000;
JSON
{
  "hex": "#b42e58",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 88
  },
  "hsl": {
    "h": 341.194,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52036,
    "c": 0.17156,
    "h": 6.9
  },
  "luminance": 0.12362
}

Semantic roles & 50–950 ramp

primary
#B42E58
secondary
#77C7AE
accent
#E2B145
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B42E58

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

Preview Lab → · Contrast checker → · Palette generator →

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