#B42E94#B42E94

#B42E94 is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.3% C 0.199 H 339.4°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#B42E94
RGBrgb(180, 46, 148)
HSLhsl(314, 59%, 44%)
HSVhsv(314, 74%, 71%)
CMYKcmyk(0%, 74.4%, 17.8%, 29.4%)
CIE-LABlab(43.94, 62.61, -25.85)
CIE-LCHlch(43.94, 67.73, 337.57°)
OKLaboklab(54.31% 0.1863 -0.0699)
OKLCHoklch(54.31% 0.199 339.4)
XYZxyz(25.1453, 13.7979, 29.3502)
Luminance0.1379 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42E94 #2EB44E
analogous
#912EB4 #B42E94 #B42E51
triadic
#B42E94 #94B42E #2E94B4
tetradic
#B42E94 #B4912E #2EB44E #2E51B4
square
#B42E94 #B4912E #2EB44E #2E51B4
split-complementary
#B42E94 #51B42E #2EB491
monochromatic
#531544 #83226C #B42E94 #D24EB2 #DE7EC7

Accessibility & contrast

On white

5.59
#B42E94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#B42E94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42E94
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42E94#FFFFFF#000000##FFFFFF
##B42E941.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375A97
Deuteranopia (green-blind)
#636F91
Tritanopia (blue-blind)
#BF335E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b42e94;
/* rgb */ color: rgb(180, 46, 148);
/* oklch */ color: oklch(54.3% 0.199 339.4);
Tailwind
colors: {
  custom: {
    50: '#ce74b3',
    500: '#b42e94',
    950: '#000000',
  },
}
SCSS
$custom: #b42e94;
$custom-light: #ce74b3;
$custom-dark: #000000;
JSON
{
  "hex": "#b42e94",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 148
  },
  "hsl": {
    "h": 314.328,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54311,
    "c": 0.19901,
    "h": 339.4
  },
  "luminance": 0.13795
}

Semantic roles & 50–950 ramp

primary
#B42E94
secondary
#77C78A
accent
#E26B45
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B42E94

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

Preview Lab → · Contrast checker → · Palette generator →

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