#B42E91#B42E91

#B42E91 is a mid, vivid pink. Relative luminance 0.137; OKLCH L 54.2% C 0.197 H 340.6°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#B42E91
RGBrgb(180, 46, 145)
HSLhsl(316, 59%, 44%)
HSVhsv(316, 74%, 71%)
CMYKcmyk(0%, 74.4%, 19.4%, 29.4%)
CIE-LABlab(43.81, 62.20, -24.25)
CIE-LCHlch(43.81, 66.75, 338.70°)
OKLaboklab(54.17% 0.1859 -0.0654)
OKLCHoklch(54.17% 0.197 340.6)
XYZxyz(24.9110, 13.7041, 28.1158)
Luminance0.1370 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42E91 #2EB451
analogous
#942EB4 #B42E91 #B42E4E
triadic
#B42E91 #91B42E #2E91B4
tetradic
#B42E91 #B4942E #2EB451 #2E4EB4
square
#B42E91 #B4942E #2EB451 #2E4EB4
split-complementary
#B42E91 #4EB42E #2EB494
monochromatic
#531542 #83226A #B42E91 #D24EAF #DE7EC5

Accessibility & contrast

On white

5.61
#B42E91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#B42E91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42E91
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42E91#FFFFFF#000000##FFFFFF
##B42E911.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395A94
Deuteranopia (green-blind)
#646F8E
Tritanopia (blue-blind)
#BF325C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b42e91;
/* rgb */ color: rgb(180, 46, 145);
/* oklch */ color: oklch(54.2% 0.197 340.6);
Tailwind
colors: {
  custom: {
    50: '#ce74b1',
    500: '#b42e91',
    950: '#000000',
  },
}
SCSS
$custom: #b42e91;
$custom-light: #ce74b1;
$custom-dark: #000000;
JSON
{
  "hex": "#b42e91",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 145
  },
  "hsl": {
    "h": 315.672,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54168,
    "c": 0.19706,
    "h": 340.6
  },
  "luminance": 0.13702
}

Semantic roles & 50–950 ramp

primary
#B42E91
secondary
#77C78C
accent
#E26E45
background
#FDF7FA
surface
#FAEDF5
border
#D3C8CF
text
#140910
muted
#837B7F

Preview Lab

Preview with #B42E91

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

Preview Lab → · Contrast checker → · Palette generator →

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