#B42A92#B42A92

#B42A92 is a mid, highly saturated pink. Relative luminance 0.134; OKLCH L 53.9% C 0.202 H 340.1°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#B42A92
RGBrgb(180, 42, 146)
HSLhsl(315, 62%, 44%)
HSVhsv(315, 77%, 71%)
CMYKcmyk(0%, 76.7%, 18.9%, 29.4%)
CIE-LABlab(43.41, 63.58, -25.46)
CIE-LCHlch(43.41, 68.48, 338.18°)
OKLaboklab(53.9% 0.1898 -0.0688)
OKLCHoklch(53.9% 0.202 340.1)
XYZxyz(24.8394, 13.4370, 28.4740)
Luminance0.1343 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42A92 #2AB44C
analogous
#912AB4 #B42A92 #B42A4D
triadic
#B42A92 #92B42A #2A92B4
tetradic
#B42A92 #B4912A #2AB44C #2A4DB4
square
#B42A92 #B4912A #2AB44C #2A4DB4
split-complementary
#B42A92 #4DB42A #2AB491
monochromatic
#511342 #821E6A #B42A92 #D447B1 #E079C6

Accessibility & contrast

On white

5.70
#B42A92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#B42A92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42A92
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42A92#FFFFFF#000000##FFFFFF
##B42A921.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355995
Deuteranopia (green-blind)
#626E8F
Tritanopia (blue-blind)
#BF2F5B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b42a92;
/* rgb */ color: rgb(180, 42, 146);
/* oklch */ color: oklch(53.9% 0.202 340.1);
Tailwind
colors: {
  custom: {
    50: '#cf72b2',
    500: '#b42a92',
    950: '#000000',
  },
}
SCSS
$custom: #b42a92;
$custom-light: #cf72b2;
$custom-dark: #000000;
JSON
{
  "hex": "#b42a92",
  "rgb": {
    "r": 180,
    "g": 42,
    "b": 146
  },
  "hsl": {
    "h": 314.783,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.539,
    "c": 0.2019,
    "h": 340.1
  },
  "luminance": 0.13435
}

Semantic roles & 50–950 ramp

primary
#B42A92
secondary
#72C887
accent
#E56B43
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B42A92

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

Preview Lab → · Contrast checker → · Palette generator →

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