#B42295#B42295

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

Color values

HEX#B42295
RGBrgb(180, 34, 149)
HSLhsl(313, 68%, 42%)
HSVhsv(313, 81%, 71%)
CMYKcmyk(0%, 81.1%, 17.2%, 29.4%)
CIE-LABlab(42.79, 66.17, -28.24)
CIE-LCHlch(42.79, 71.95, 336.89°)
OKLaboklab(53.5% 0.1968 -0.0766)
OKLCHoklch(53.5% 0.211 338.7)
XYZxyz(24.8199, 13.0198, 29.6339)
Luminance0.1302 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42295 #22B441
analogous
#8A22B4 #B42295 #B4224C
triadic
#B42295 #95B422 #2295B4
tetradic
#B42295 #B48A22 #22B441 #224CB4
square
#B42295 #B48A22 #22B441 #224CB4
split-complementary
#B42295 #4CB422 #22B48A
monochromatic
#4D0F40 #81186A #B42295 #DA3AB8 #E36DCA

Accessibility & contrast

On white

5.83
#B42295 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#B42295 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42295
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42295#FFFFFF#000000##FFFFFF
##B422951.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b42295;
/* rgb */ color: rgb(180, 34, 149);
/* oklch */ color: oklch(53.5% 0.211 338.7);
Tailwind
colors: {
  custom: {
    50: '#cf70b4',
    500: '#b42295',
    950: '#000000',
  },
}
SCSS
$custom: #b42295;
$custom-light: #cf70b4;
$custom-dark: #000000;
JSON
{
  "hex": "#b42295",
  "rgb": {
    "r": 180,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 312.74,
    "s": 68.224,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53498,
    "c": 0.2112,
    "h": 338.7
  },
  "luminance": 0.13017
}

Semantic roles & 50–950 ramp

primary
#B42295
secondary
#68CA7D
accent
#EB623D
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B42295

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

Preview Lab → · Contrast checker → · Palette generator →

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