#B42F5A#B42F5A

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

Color values

HEX#B42F5A
RGBrgb(180, 47, 90)
HSLhsl(341, 59%, 45%)
HSVhsv(341, 74%, 71%)
CMYKcmyk(0%, 73.9%, 50%, 29.4%)
CIE-LABlab(41.97, 55.68, 6.97)
CIE-LCHlch(41.97, 56.11, 7.13°)
OKLaboklab(52.18% 0.17 0.0182)
OKLCHoklch(52.18% 0.171 6.1)
XYZxyz(21.6862, 12.4774, 10.9373)
Luminance0.1247 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42F5A #2FB489
analogous
#B42F9C #B42F5A #B4472F
triadic
#B42F5A #5AB42F #2F5AB4
tetradic
#B42F5A #9CB42F #2FB489 #472FB4
square
#B42F5A #9CB42F #2FB489 #472FB4
split-complementary
#B42F5A #2FB447 #2F9CB4
monochromatic
#531629 #832242 #B42F5A #D14F79 #DE809E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B42F5A#FFFFFF#000000##FFFFFF
##B42F5A1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b42f5a;
/* rgb */ color: rgb(180, 47, 90);
/* oklch */ color: oklch(52.2% 0.171 6.1);
Tailwind
colors: {
  custom: {
    50: '#d07388',
    500: '#b42f5a',
    950: '#000000',
  },
}
SCSS
$custom: #b42f5a;
$custom-light: #d07388;
$custom-dark: #000000;
JSON
{
  "hex": "#b42f5a",
  "rgb": {
    "r": 180,
    "g": 47,
    "b": 90
  },
  "hsl": {
    "h": 340.602,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52182,
    "c": 0.17093,
    "h": 6.1
  },
  "luminance": 0.12475
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B42F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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