#B42E92#B42E92

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

Color values

HEX#B42E92
RGBrgb(180, 46, 146)
HSLhsl(315, 59%, 44%)
HSVhsv(315, 74%, 71%)
CMYKcmyk(0%, 74.4%, 18.9%, 29.4%)
CIE-LABlab(43.85, 62.33, -24.78)
CIE-LCHlch(43.85, 67.08, 338.32°)
OKLaboklab(54.22% 0.1861 -0.0669)
OKLCHoklch(54.22% 0.198 340.2)
XYZxyz(24.9884, 13.7351, 28.5237)
Luminance0.1373 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42E92 #2EB450
analogous
#932EB4 #B42E92 #B42E4F
triadic
#B42E92 #92B42E #2E92B4
tetradic
#B42E92 #B4932E #2EB450 #2E4FB4
square
#B42E92 #B4932E #2EB450 #2E4FB4
split-complementary
#B42E92 #4FB42E #2EB493
monochromatic
#531543 #83226A #B42E92 #D24EB0 #DE7EC6

Accessibility & contrast

On white

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

On black

3.75
#B42E92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B42E92#FFFFFF#000000##FFFFFF
##B42E921.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385A95
Deuteranopia (green-blind)
#636F8F
Tritanopia (blue-blind)
#BF325D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b42e92;
/* rgb */ color: rgb(180, 46, 146);
/* oklch */ color: oklch(54.2% 0.198 340.2);
Tailwind
colors: {
  custom: {
    50: '#ce74b2',
    500: '#b42e92',
    950: '#000000',
  },
}
SCSS
$custom: #b42e92;
$custom-light: #ce74b2;
$custom-dark: #000000;
JSON
{
  "hex": "#b42e92",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 146
  },
  "hsl": {
    "h": 315.224,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54215,
    "c": 0.19772,
    "h": 340.2
  },
  "luminance": 0.13733
}

Semantic roles & 50–950 ramp

primary
#B42E92
secondary
#77C78B
accent
#E26D45
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B42E92

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

Preview Lab → · Contrast checker → · Palette generator →

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