#B42E90#B42E90

#B42E90 is a mid, vivid pink. Relative luminance 0.137; OKLCH L 54.1% C 0.196 H 341.0°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#B42E90
RGBrgb(180, 46, 144)
HSLhsl(316, 59%, 44%)
HSVhsv(316, 74%, 71%)
CMYKcmyk(0%, 74.4%, 20%, 29.4%)
CIE-LABlab(43.76, 62.06, -23.71)
CIE-LCHlch(43.76, 66.43, 339.09°)
OKLaboklab(54.12% 0.1858 -0.0638)
OKLCHoklch(54.12% 0.196 341)
XYZxyz(24.8342, 13.6734, 27.7115)
Luminance0.1367 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42E90 #2EB452
analogous
#952EB4 #B42E90 #B42E4D
triadic
#B42E90 #90B42E #2E90B4
tetradic
#B42E90 #B4952E #2EB452 #2E4DB4
square
#B42E90 #B4952E #2EB452 #2E4DB4
split-complementary
#B42E90 #4DB42E #2EB495
monochromatic
#531542 #832269 #B42E90 #D24EAE #DE7EC4

Accessibility & contrast

On white

5.62
#B42E90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#B42E90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42E90
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42E90#FFFFFF#000000##FFFFFF
##B42E901.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395A93
Deuteranopia (green-blind)
#646F8D
Tritanopia (blue-blind)
#BF315B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b42e90;
/* rgb */ color: rgb(180, 46, 144);
/* oklch */ color: oklch(54.1% 0.196 341.0);
Tailwind
colors: {
  custom: {
    50: '#ce74b0',
    500: '#b42e90',
    950: '#000000',
  },
}
SCSS
$custom: #b42e90;
$custom-light: #ce74b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b42e90",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 144
  },
  "hsl": {
    "h": 316.119,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54121,
    "c": 0.19643,
    "h": 341
  },
  "luminance": 0.13671
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B42E90

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

Preview Lab → · Contrast checker → · Palette generator →

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