#B42A63#B42A63

#B42A63 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.0% C 0.178 H 0.9°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#B42A63
RGBrgb(180, 42, 99)
HSLhsl(335, 62%, 44%)
HSVhsv(335, 77%, 71%)
CMYKcmyk(0%, 76.7%, 45%, 29.4%)
CIE-LABlab(41.63, 58.14, 0.84)
CIE-LCHlch(41.63, 58.15, 0.83°)
OKLaboklab(52.02% 0.1785 0.0028)
OKLCHoklch(52.02% 0.178 0.9)
XYZxyz(21.9042, 12.2630, 13.0155)
Luminance0.1226 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42A63 #2AB47B
analogous
#B42AA8 #B42A63 #B4362A
triadic
#B42A63 #63B42A #2A63B4
tetradic
#B42A63 #A8B42A #2AB47B #362AB4
square
#B42A63 #A8B42A #2AB47B #362AB4
split-complementary
#B42A63 #2AB436 #2AA8B4
monochromatic
#51132C #821E48 #B42A63 #D44781 #E079A3

Accessibility & contrast

On white

6.08
#B42A63 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#B42A63 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42A63
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42A63#FFFFFF#000000##FFFFFF
##B42A631.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5164
Deuteranopia (green-blind)
#6F6C60
Tritanopia (blue-blind)
#C40D43
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b42a63;
/* rgb */ color: rgb(180, 42, 99);
/* oklch */ color: oklch(52.0% 0.178 0.9);
Tailwind
colors: {
  custom: {
    50: '#d0718f',
    500: '#b42a63',
    950: '#000000',
  },
}
SCSS
$custom: #b42a63;
$custom-light: #d0718f;
$custom-dark: #000000;
JSON
{
  "hex": "#b42a63",
  "rgb": {
    "r": 180,
    "g": 42,
    "b": 99
  },
  "hsl": {
    "h": 335.217,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52018,
    "c": 0.17849,
    "h": 0.9
  },
  "luminance": 0.1226
}

Semantic roles & 50–950 ramp

primary
#B42A63
secondary
#72C8A4
accent
#E5A243
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B42A63

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

Preview Lab → · Contrast checker → · Palette generator →

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