#B42F59#B42F59

#B42F59 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.2% C 0.171 H 6.6°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#B42F59
RGBrgb(180, 47, 89)
HSLhsl(341, 59%, 45%)
HSVhsv(341, 74%, 71%)
CMYKcmyk(0%, 73.9%, 50.6%, 29.4%)
CIE-LABlab(41.94, 55.59, 7.56)
CIE-LCHlch(41.94, 56.11, 7.74°)
OKLaboklab(52.15% 0.1696 0.0197)
OKLCHoklch(52.15% 0.171 6.6)
XYZxyz(21.6440, 12.4605, 10.7147)
Luminance0.1246 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42F59 #2FB48A
analogous
#B42F9B #B42F59 #B4482F
triadic
#B42F59 #59B42F #2F59B4
tetradic
#B42F59 #9BB42F #2FB48A #482FB4
square
#B42F59 #9BB42F #2FB48A #482FB4
split-complementary
#B42F59 #2FB448 #2F9BB4
monochromatic
#531629 #832241 #B42F59 #D14F78 #DE809D

Accessibility & contrast

On white

6.01
#B42F59 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B42F59
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42F59#FFFFFF#000000##FFFFFF
##B42F591.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F525A
Deuteranopia (green-blind)
#726D56
Tritanopia (blue-blind)
#C41141
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b42f59;
/* rgb */ color: rgb(180, 47, 89);
/* oklch */ color: oklch(52.2% 0.171 6.6);
Tailwind
colors: {
  custom: {
    50: '#d07387',
    500: '#b42f59',
    950: '#000000',
  },
}
SCSS
$custom: #b42f59;
$custom-light: #d07387;
$custom-dark: #000000;
JSON
{
  "hex": "#b42f59",
  "rgb": {
    "r": 180,
    "g": 47,
    "b": 89
  },
  "hsl": {
    "h": 341.053,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52154,
    "c": 0.17073,
    "h": 6.6
  },
  "luminance": 0.12458
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B42F59

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

Preview Lab → · Contrast checker → · Palette generator →

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