#B45795#B45795

#B45795 is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.0% C 0.142 H 341.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B45795
RGBrgb(180, 87, 149)
HSLhsl(320, 38%, 52%)
HSVhsv(320, 52%, 71%)
CMYKcmyk(0%, 51.7%, 17.2%, 29.4%)
CIE-LABlab(50.32, 45.44, -16.62)
CIE-LCHlch(50.32, 48.39, 339.91°)
OKLaboklab(59.01% 0.1346 -0.0443)
OKLCHoklch(59.01% 0.142 341.8)
XYZxyz(27.6559, 18.6917, 30.5792)
Luminance0.1869 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45795 #57B476
analogous
#A557B4 #B45795 #B45766
triadic
#B45795 #95B457 #5795B4
tetradic
#B45795 #B4A557 #57B476 #5766B4
square
#B45795 #B4A557 #57B476 #5766B4
split-complementary
#B45795 #66B457 #57B4A5
monochromatic
#642D52 #8E4074 #B45795 #C781B0 #DAACCA

Accessibility & contrast

On white

4.43
#B45795 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#B45795 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45795
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45795#FFFFFF#000000##000000
##B457951.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D6E97
Deuteranopia (green-blind)
#767D93
Tritanopia (blue-blind)
#BE586F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b45795;
/* rgb */ color: rgb(180, 87, 149);
/* oklch */ color: oklch(59.0% 0.142 341.8);
Tailwind
colors: {
  custom: {
    50: '#cd8ab4',
    500: '#b45795',
    950: '#000000',
  },
}
SCSS
$custom: #b45795;
$custom-light: #cd8ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#b45795",
  "rgb": {
    "r": 180,
    "g": 87,
    "b": 149
  },
  "hsl": {
    "h": 320,
    "s": 38.272,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59014,
    "c": 0.14168,
    "h": 341.8
  },
  "luminance": 0.1869
}

Semantic roles & 50–950 ramp

primary
#B45795
secondary
#9FC8AD
accent
#CE805A
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#140C11
muted
#827D80

Preview Lab

Preview with #B45795

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

Preview Lab → · Contrast checker → · Palette generator →

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