#B42A60#B42A60

#B42A60 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.9% C 0.178 H 2.4°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#B42A60
RGBrgb(180, 42, 96)
HSLhsl(337, 62%, 44%)
HSVhsv(337, 77%, 71%)
CMYKcmyk(0%, 76.7%, 46.7%, 29.4%)
CIE-LABlab(41.54, 57.86, 2.60)
CIE-LCHlch(41.54, 57.92, 2.57°)
OKLaboklab(51.93% 0.1774 0.0073)
OKLCHoklch(51.93% 0.178 2.4)
XYZxyz(21.7635, 12.2067, 12.2742)
Luminance0.1220 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42A60 #2AB47E
analogous
#B42AA5 #B42A60 #B4392A
triadic
#B42A60 #60B42A #2A60B4
tetradic
#B42A60 #A5B42A #2AB47E #392AB4
square
#B42A60 #A5B42A #2AB47E #392AB4
split-complementary
#B42A60 #2AB439 #2AA5B4
monochromatic
#51132B #821E46 #B42A60 #D4477E #E079A1

Accessibility & contrast

On white

6.10
#B42A60 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#B42A60 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42A60
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42A60#FFFFFF#000000##FFFFFF
##B42A601.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5161
Deuteranopia (green-blind)
#706C5D
Tritanopia (blue-blind)
#C40A42
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b42a60;
/* rgb */ color: rgb(180, 42, 96);
/* oklch */ color: oklch(51.9% 0.178 2.4);
Tailwind
colors: {
  custom: {
    50: '#d0718c',
    500: '#b42a60',
    950: '#000000',
  },
}
SCSS
$custom: #b42a60;
$custom-light: #d0718c;
$custom-dark: #000000;
JSON
{
  "hex": "#b42a60",
  "rgb": {
    "r": 180,
    "g": 42,
    "b": 96
  },
  "hsl": {
    "h": 336.522,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51925,
    "c": 0.17759,
    "h": 2.4
  },
  "luminance": 0.12204
}

Semantic roles & 50–950 ramp

primary
#B42A60
secondary
#72C8A6
accent
#E5A643
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B42A60

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

Preview Lab → · Contrast checker → · Palette generator →

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