#B42195#B42195

#B42195 is a mid, highly saturated pink. Relative luminance 0.130; OKLCH L 53.4% C 0.212 H 338.7°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#B42195
RGBrgb(180, 33, 149)
HSLhsl(313, 69%, 42%)
HSVhsv(313, 82%, 71%)
CMYKcmyk(0%, 81.7%, 17.2%, 29.4%)
CIE-LABlab(42.71, 66.42, -28.38)
CIE-LCHlch(42.71, 72.22, 336.87°)
OKLaboklab(53.44% 0.1975 -0.077)
OKLCHoklch(53.44% 0.212 338.7)
XYZxyz(24.7917, 12.9634, 29.6245)
Luminance0.1296 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42195 #21B440
analogous
#8A21B4 #B42195 #B4214C
triadic
#B42195 #95B421 #2195B4
tetradic
#B42195 #B48A21 #21B440 #214CB4
square
#B42195 #B48A21 #21B440 #214CB4
split-complementary
#B42195 #4CB421 #21B48A
monochromatic
#4D0E3F #80186A #B42195 #DA38B8 #E46BCB

Accessibility & contrast

On white

5.85
#B42195 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#B42195 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42195
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42195#FFFFFF#000000##FFFFFF
##B421951.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5698
Deuteranopia (green-blind)
#5E6D92
Tritanopia (blue-blind)
#BF2A5B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b42195;
/* rgb */ color: rgb(180, 33, 149);
/* oklch */ color: oklch(53.4% 0.212 338.7);
Tailwind
colors: {
  custom: {
    50: '#cf6fb4',
    500: '#b42195',
    950: '#000000',
  },
}
SCSS
$custom: #b42195;
$custom-light: #cf6fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#b42195",
  "rgb": {
    "r": 180,
    "g": 33,
    "b": 149
  },
  "hsl": {
    "h": 312.653,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53437,
    "c": 0.21202,
    "h": 338.7
  },
  "luminance": 0.12961
}

Semantic roles & 50–950 ramp

primary
#B42195
secondary
#67CA7C
accent
#EC613C
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B42195

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

Preview Lab → · Contrast checker → · Palette generator →

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