#B42D93#B42D93

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

Color values

HEX#B42D93
RGBrgb(180, 45, 147)
HSLhsl(315, 60%, 44%)
HSVhsv(315, 75%, 71%)
CMYKcmyk(0%, 75%, 18.3%, 29.4%)
CIE-LABlab(43.78, 62.79, -25.49)
CIE-LCHlch(43.78, 67.77, 337.91°)
OKLaboklab(54.18% 0.1872 -0.0689)
OKLCHoklch(54.18% 0.199 339.8)
XYZxyz(25.0279, 13.6891, 28.9223)
Luminance0.1369 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42D93 #2DB44E
analogous
#922DB4 #B42D93 #B42D4F
triadic
#B42D93 #93B42D #2D93B4
tetradic
#B42D93 #B4922D #2DB44E #2D4FB4
square
#B42D93 #B4922D #2DB44E #2D4FB4
split-complementary
#B42D93 #4FB42D #2DB492
monochromatic
#521543 #83216B #B42D93 #D24CB1 #DE7DC7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B42D93#FFFFFF#000000##FFFFFF
##B42D931.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365A96
Deuteranopia (green-blind)
#636F90
Tritanopia (blue-blind)
#BF325D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b42d93;
/* rgb */ color: rgb(180, 45, 147);
/* oklch */ color: oklch(54.2% 0.199 339.8);
Tailwind
colors: {
  custom: {
    50: '#ce74b3',
    500: '#b42d93',
    950: '#000000',
  },
}
SCSS
$custom: #b42d93;
$custom-light: #ce74b3;
$custom-dark: #000000;
JSON
{
  "hex": "#b42d93",
  "rgb": {
    "r": 180,
    "g": 45,
    "b": 147
  },
  "hsl": {
    "h": 314.667,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54182,
    "c": 0.19943,
    "h": 339.8
  },
  "luminance": 0.13687
}

Semantic roles & 50–950 ramp

primary
#B42D93
secondary
#76C78A
accent
#E36B45
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B42D93

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

Preview Lab → · Contrast checker → · Palette generator →

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