#B42B4E#B42B4E

#B42B4E is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.5% C 0.173 H 11.2°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#B42B4E
RGBrgb(180, 43, 78)
HSLhsl(345, 61%, 44%)
HSVhsv(345, 76%, 71%)
CMYKcmyk(0%, 76.1%, 56.7%, 29.4%)
CIE-LABlab(41.19, 56.06, 13.43)
CIE-LCHlch(41.19, 57.65, 13.47°)
OKLaboklab(51.51% 0.1697 0.0337)
OKLCHoklch(51.51% 0.173 11.2)
XYZxyz(21.0635, 11.9841, 8.4103)
Luminance0.1198 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42B4E #2BB491
analogous
#B42B92 #B42B4E #B44D2B
triadic
#B42B4E #4EB42B #2B4EB4
tetradic
#B42B4E #92B42B #2BB491 #4D2BB4
square
#B42B4E #92B42B #2BB491 #4D2BB4
split-complementary
#B42B4E #2BB44D #2B92B4
monochromatic
#511323 #831F39 #B42B4E #D3496C #DF7A94

Accessibility & contrast

On white

6.18
#B42B4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#B42B4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42B4E
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42B4E#FFFFFF#000000##FFFFFF
##B42B4E1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504F4F
Deuteranopia (green-blind)
#736B4B
Tritanopia (blue-blind)
#C5003A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b42b4e;
/* rgb */ color: rgb(180, 43, 78);
/* oklch */ color: oklch(51.5% 0.173 11.2);
Tailwind
colors: {
  custom: {
    50: '#d1717f',
    500: '#b42b4e',
    950: '#000000',
  },
}
SCSS
$custom: #b42b4e;
$custom-light: #d1717f;
$custom-dark: #000000;
JSON
{
  "hex": "#b42b4e",
  "rgb": {
    "r": 180,
    "g": 43,
    "b": 78
  },
  "hsl": {
    "h": 344.672,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51514,
    "c": 0.17299,
    "h": 11.2
  },
  "luminance": 0.11981
}

Semantic roles & 50–950 ramp

primary
#B42B4E
secondary
#73C7B2
accent
#E5BB43
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B42B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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