#B42962#B42962

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

Color values

HEX#B42962
RGBrgb(180, 41, 98)
HSLhsl(335, 63%, 43%)
HSVhsv(335, 77%, 71%)
CMYKcmyk(0%, 77.2%, 45.6%, 29.4%)
CIE-LABlab(41.49, 58.36, 1.27)
CIE-LCHlch(41.49, 58.37, 1.24°)
OKLaboklab(51.91% 0.1791 0.0039)
OKLCHoklch(51.91% 0.179 1.3)
XYZxyz(21.8217, 12.1739, 12.7536)
Luminance0.1217 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42962 #29B47B
analogous
#B429A7 #B42962 #B43629
triadic
#B42962 #62B429 #2962B4
tetradic
#B42962 #A7B429 #29B47B #3629B4
square
#B42962 #A7B429 #29B47B #3629B4
split-complementary
#B42962 #29B436 #29A7B4
monochromatic
#50122C #821E47 #B42962 #D54580 #E077A2

Accessibility & contrast

On white

6.11
#B42962 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#B42962 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42962
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42962#FFFFFF#000000##FFFFFF
##B429621.006.113.436.11
#FFFFFF6.111.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5163
Deuteranopia (green-blind)
#6F6C5F
Tritanopia (blue-blind)
#C40942
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b42962;
/* rgb */ color: rgb(180, 41, 98);
/* oklch */ color: oklch(51.9% 0.179 1.3);
Tailwind
colors: {
  custom: {
    50: '#d0708e',
    500: '#b42962',
    950: '#000000',
  },
}
SCSS
$custom: #b42962;
$custom-light: #d0708e;
$custom-dark: #000000;
JSON
{
  "hex": "#b42962",
  "rgb": {
    "r": 180,
    "g": 41,
    "b": 98
  },
  "hsl": {
    "h": 335.396,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51906,
    "c": 0.17917,
    "h": 1.3
  },
  "luminance": 0.12171
}

Semantic roles & 50–950 ramp

primary
#B42962
secondary
#71C8A4
accent
#E6A342
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B42962

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

Preview Lab → · Contrast checker → · Palette generator →

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