#B42A4E#B42A4E

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

Color values

HEX#B42A4E
RGBrgb(180, 42, 78)
HSLhsl(344, 62%, 44%)
HSVhsv(344, 77%, 71%)
CMYKcmyk(0%, 76.7%, 56.7%, 29.4%)
CIE-LABlab(41.08, 56.38, 13.27)
CIE-LCHlch(41.08, 57.93, 13.25°)
OKLaboklab(51.43% 0.1707 0.0333)
OKLCHoklch(51.43% 0.174 11)
XYZxyz(21.0275, 11.9123, 8.3983)
Luminance0.1191 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42A4E #2AB490
analogous
#B42A93 #B42A4E #B44B2A
triadic
#B42A4E #4EB42A #2A4EB4
tetradic
#B42A4E #93B42A #2AB490 #4B2AB4
square
#B42A4E #93B42A #2AB490 #4B2AB4
split-complementary
#B42A4E #2AB44B #2A93B4
monochromatic
#511323 #821E38 #B42A4E #D4476C #E07994

Accessibility & contrast

On white

6.21
#B42A4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B42A4E
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42A4E#FFFFFF#000000##FFFFFF
##B42A4E1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4F4F
Deuteranopia (green-blind)
#736B4A
Tritanopia (blue-blind)
#C50039
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b42a4e;
/* rgb */ color: rgb(180, 42, 78);
/* oklch */ color: oklch(51.4% 0.174 11.0);
Tailwind
colors: {
  custom: {
    50: '#d1707f',
    500: '#b42a4e',
    950: '#000000',
  },
}
SCSS
$custom: #b42a4e;
$custom-light: #d1707f;
$custom-dark: #000000;
JSON
{
  "hex": "#b42a4e",
  "rgb": {
    "r": 180,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 344.348,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51429,
    "c": 0.17394,
    "h": 11
  },
  "luminance": 0.11909
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B42A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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