#B42A4F#B42A4F

#B42A4F is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.5% C 0.174 H 10.6°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#B42A4F
RGBrgb(180, 42, 79)
HSLhsl(344, 62%, 44%)
HSVhsv(344, 77%, 71%)
CMYKcmyk(0%, 76.7%, 56.1%, 29.4%)
CIE-LABlab(41.10, 56.46, 12.67)
CIE-LCHlch(41.10, 57.86, 12.65°)
OKLaboklab(51.45% 0.1711 0.0319)
OKLCHoklch(51.45% 0.174 10.6)
XYZxyz(21.0637, 11.9268, 8.5886)
Luminance0.1192 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42A4F #2AB48F
analogous
#B42A94 #B42A4F #B44A2A
triadic
#B42A4F #4FB42A #2A4FB4
tetradic
#B42A4F #94B42A #2AB48F #4A2AB4
square
#B42A4F #94B42A #2AB48F #4A2AB4
split-complementary
#B42A4F #2AB44A #2A94B4
monochromatic
#511323 #821E39 #B42A4F #D4476D #E07994

Accessibility & contrast

On white

6.20
#B42A4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#B42A4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42A4F
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42A4F#FFFFFF#000000##FFFFFF
##B42A4F1.006.203.386.20
#FFFFFF6.201.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4F50
Deuteranopia (green-blind)
#726B4C
Tritanopia (blue-blind)
#C5003A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b42a4f;
/* rgb */ color: rgb(180, 42, 79);
/* oklch */ color: oklch(51.5% 0.174 10.6);
Tailwind
colors: {
  custom: {
    50: '#d17080',
    500: '#b42a4f',
    950: '#000000',
  },
}
SCSS
$custom: #b42a4f;
$custom-light: #d17080;
$custom-dark: #000000;
JSON
{
  "hex": "#b42a4f",
  "rgb": {
    "r": 180,
    "g": 42,
    "b": 79
  },
  "hsl": {
    "h": 343.913,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51453,
    "c": 0.17406,
    "h": 10.6
  },
  "luminance": 0.11924
}

Semantic roles & 50–950 ramp

primary
#B42A4F
secondary
#72C8B1
accent
#E5BA43
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B42A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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