#B42193#B42193

#B42193 is a mid, highly saturated pink. Relative luminance 0.129; OKLCH L 53.3% C 0.211 H 339.5°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#B42193
RGBrgb(180, 33, 147)
HSLhsl(313, 69%, 42%)
HSVhsv(313, 82%, 71%)
CMYKcmyk(0%, 81.7%, 18.3%, 29.4%)
CIE-LABlab(42.61, 66.15, -27.31)
CIE-LCHlch(42.61, 71.56, 337.56°)
OKLaboklab(53.34% 0.1974 -0.074)
OKLCHoklch(53.34% 0.211 339.5)
XYZxyz(24.6334, 12.9001, 28.7908)
Luminance0.1290 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42193 #21B442
analogous
#8B21B4 #B42193 #B4214A
triadic
#B42193 #93B421 #2193B4
tetradic
#B42193 #B48B21 #21B442 #214AB4
square
#B42193 #B48B21 #21B442 #214AB4
split-complementary
#B42193 #4AB421 #21B48B
monochromatic
#4D0E3F #801869 #B42193 #DA38B6 #E46BC9

Accessibility & contrast

On white

5.87
#B42193 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#B42193 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42193
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42193#FFFFFF#000000##FFFFFF
##B421931.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5696
Deuteranopia (green-blind)
#5F6D90
Tritanopia (blue-blind)
#BF285A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b42193;
/* rgb */ color: rgb(180, 33, 147);
/* oklch */ color: oklch(53.3% 0.211 339.5);
Tailwind
colors: {
  custom: {
    50: '#cf6fb3',
    500: '#b42193',
    950: '#000000',
  },
}
SCSS
$custom: #b42193;
$custom-light: #cf6fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#b42193",
  "rgb": {
    "r": 180,
    "g": 33,
    "b": 147
  },
  "hsl": {
    "h": 313.469,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53338,
    "c": 0.21076,
    "h": 339.5
  },
  "luminance": 0.12898
}

Semantic roles & 50–950 ramp

primary
#B42193
secondary
#67CA7D
accent
#EC633C
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B42193

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

Preview Lab → · Contrast checker → · Palette generator →

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