#B45196#B45196

#B45196 is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.2% C 0.152 H 340.6°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#B45196
RGBrgb(180, 81, 150)
HSLhsl(318, 40%, 51%)
HSVhsv(318, 55%, 71%)
CMYKcmyk(0%, 55%, 16.7%, 29.4%)
CIE-LABlab(49.24, 48.56, -18.87)
CIE-LCHlch(49.24, 52.09, 338.77°)
OKLaboklab(58.22% 0.1436 -0.0505)
OKLCHoklch(58.22% 0.152 340.6)
XYZxyz(27.2703, 17.7923, 30.8462)
Luminance0.1779 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45196 #51B46F
analogous
#A051B4 #B45196 #B45164
triadic
#B45196 #96B451 #5196B4
tetradic
#B45196 #B4A051 #51B46F #5164B4
square
#B45196 #B4A051 #51B46F #5164B4
split-complementary
#B45196 #64B451 #51B4A0
monochromatic
#612A50 #8C3C74 #B45196 #C67CB0 #D9A7CA

Accessibility & contrast

On white

4.61
#B45196 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#B45196 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B45196
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45196#FFFFFF#000000##FFFFFF
##B451961.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566B98
Deuteranopia (green-blind)
#727B93
Tritanopia (blue-blind)
#BE536D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b45196;
/* rgb */ color: rgb(180, 81, 150);
/* oklch */ color: oklch(58.2% 0.152 340.6);
Tailwind
colors: {
  custom: {
    50: '#cd86b5',
    500: '#b45196',
    950: '#000000',
  },
}
SCSS
$custom: #b45196;
$custom-light: #cd86b5;
$custom-dark: #000000;
JSON
{
  "hex": "#b45196",
  "rgb": {
    "r": 180,
    "g": 81,
    "b": 150
  },
  "hsl": {
    "h": 318.182,
    "s": 39.759,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58223,
    "c": 0.15225,
    "h": 340.6
  },
  "luminance": 0.1779
}

Semantic roles & 50–950 ramp

primary
#B45196
secondary
#9BC6A8
accent
#D07C58
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#140B11
muted
#827C80

Preview Lab

Preview with #B45196

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

Preview Lab → · Contrast checker → · Palette generator →

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