#B42F58#B42F58

#B42F58 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.1% C 0.171 H 7.1°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#B42F58
RGBrgb(180, 47, 88)
HSLhsl(342, 59%, 45%)
HSVhsv(342, 74%, 71%)
CMYKcmyk(0%, 73.9%, 51.1%, 29.4%)
CIE-LABlab(41.91, 55.51, 8.15)
CIE-LCHlch(41.91, 56.10, 8.35°)
OKLaboklab(52.13% 0.1692 0.0211)
OKLCHoklch(52.13% 0.171 7.1)
XYZxyz(21.6023, 12.4439, 10.4950)
Luminance0.1244 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42F58 #2FB48B
analogous
#B42F9A #B42F58 #B4492F
triadic
#B42F58 #58B42F #2F58B4
tetradic
#B42F58 #9AB42F #2FB48B #492FB4
square
#B42F58 #9AB42F #2FB48B #492FB4
split-complementary
#B42F58 #2FB449 #2F9AB4
monochromatic
#531629 #832240 #B42F58 #D14F77 #DE809D

Accessibility & contrast

On white

6.02
#B42F58 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#B42F58 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42F58
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42F58#FFFFFF#000000##FFFFFF
##B42F581.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505259
Deuteranopia (green-blind)
#736D55
Tritanopia (blue-blind)
#C41040
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b42f58;
/* rgb */ color: rgb(180, 47, 88);
/* oklch */ color: oklch(52.1% 0.171 7.1);
Tailwind
colors: {
  custom: {
    50: '#d07386',
    500: '#b42f58',
    950: '#000000',
  },
}
SCSS
$custom: #b42f58;
$custom-light: #d07386;
$custom-dark: #000000;
JSON
{
  "hex": "#b42f58",
  "rgb": {
    "r": 180,
    "g": 47,
    "b": 88
  },
  "hsl": {
    "h": 341.504,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52126,
    "c": 0.17052,
    "h": 7.1
  },
  "luminance": 0.12441
}

Semantic roles & 50–950 ramp

primary
#B42F58
secondary
#78C7AE
accent
#E2B246
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B42F58

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

Preview Lab → · Contrast checker → · Palette generator →

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