#B45C8E#B45C8E

#B45C8E is a mid, vivid pink. Relative luminance 0.193; OKLCH L 59.5% C 0.129 H 346.5°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#B45C8E
RGBrgb(180, 92, 142)
HSLhsl(326, 37%, 53%)
HSVhsv(326, 49%, 71%)
CMYKcmyk(0%, 48.9%, 21.1%, 29.4%)
CIE-LABlab(51.05, 41.82, -11.37)
CIE-LCHlch(51.05, 43.34, 344.79°)
OKLaboklab(59.47% 0.125 -0.0299)
OKLCHoklch(59.47% 0.129 346.5)
XYZxyz(27.5326, 19.3127, 27.8636)
Luminance0.1931 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45C8E #5CB482
analogous
#AE5CB4 #B45C8E #B45C62
triadic
#B45C8E #8EB45C #5C8EB4
tetradic
#B45C8E #B4AE5C #5CB482 #5C62B4
square
#B45C8E #B4AE5C #5CB482 #5C62B4
split-complementary
#B45C8E #62B45C #5CB4AE
monochromatic
#662F4F #90426F #B45C8E #C786AB #DBB0C8

Accessibility & contrast

On white

4.32
#B45C8E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#B45C8E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45C8E
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45C8E#FFFFFF#000000##000000
##B45C8E1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#647090
Deuteranopia (green-blind)
#7B7F8C
Tritanopia (blue-blind)
#BE5B6F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b45c8e;
/* rgb */ color: rgb(180, 92, 142);
/* oklch */ color: oklch(59.5% 0.129 346.5);
Tailwind
colors: {
  custom: {
    50: '#cd8daf',
    500: '#b45c8e',
    950: '#000000',
  },
}
SCSS
$custom: #b45c8e;
$custom-light: #cd8daf;
$custom-dark: #000000;
JSON
{
  "hex": "#b45c8e",
  "rgb": {
    "r": 180,
    "g": 92,
    "b": 142
  },
  "hsl": {
    "h": 325.909,
    "s": 36.975,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59473,
    "c": 0.1285,
    "h": 346.5
  },
  "luminance": 0.19311
}

Semantic roles & 50–950 ramp

primary
#B45C8E
secondary
#A3C9B3
accent
#CD8C5B
background
#FCF8FA
surface
#F9F0F4
border
#D2CBCE
text
#140C10
muted
#827D7F

Preview Lab

Preview with #B45C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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