#B42F5B#B42F5B

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

Color values

HEX#B42F5B
RGBrgb(180, 47, 91)
HSLhsl(340, 59%, 45%)
HSVhsv(340, 74%, 71%)
CMYKcmyk(0%, 73.9%, 49.4%, 29.4%)
CIE-LABlab(41.99, 55.77, 6.38)
CIE-LCHlch(41.99, 56.13, 6.53°)
OKLaboklab(52.21% 0.1703 0.0168)
OKLCHoklch(52.21% 0.171 5.6)
XYZxyz(21.7291, 12.4946, 11.1630)
Luminance0.1249 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42F5B #2FB488
analogous
#B42F9E #B42F5B #B4452F
triadic
#B42F5B #5BB42F #2F5BB4
tetradic
#B42F5B #9EB42F #2FB488 #452FB4
square
#B42F5B #9EB42F #2FB488 #452FB4
split-complementary
#B42F5B #2FB445 #2F9EB4
monochromatic
#53162A #832242 #B42F5B #D14F7A #DE809F

Accessibility & contrast

On white

6.00
#B42F5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#B42F5B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42F5B
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42F5B#FFFFFF#000000##FFFFFF
##B42F5B1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F525C
Deuteranopia (green-blind)
#726D58
Tritanopia (blue-blind)
#C41241
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b42f5b;
/* rgb */ color: rgb(180, 47, 91);
/* oklch */ color: oklch(52.2% 0.171 5.6);
Tailwind
colors: {
  custom: {
    50: '#d07389',
    500: '#b42f5b',
    950: '#000000',
  },
}
SCSS
$custom: #b42f5b;
$custom-light: #d07389;
$custom-dark: #000000;
JSON
{
  "hex": "#b42f5b",
  "rgb": {
    "r": 180,
    "g": 47,
    "b": 91
  },
  "hsl": {
    "h": 340.15,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5221,
    "c": 0.17115,
    "h": 5.6
  },
  "luminance": 0.12492
}

Semantic roles & 50–950 ramp

primary
#B42F5B
secondary
#78C7AD
accent
#E2AE46
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B42F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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