#B45F7A#B45F7A

#B45F7A is a mid, moderate pink. Relative luminance 0.193; OKLCH L 59.2% C 0.114 H 0.9°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#B45F7A
RGBrgb(180, 95, 122)
HSLhsl(341, 36%, 54%)
HSVhsv(341, 47%, 71%)
CMYKcmyk(0%, 47.2%, 32.2%, 29.4%)
CIE-LABlab(51.03, 37.42, 0.49)
CIE-LCHlch(51.03, 37.43, 0.76°)
OKLaboklab(59.25% 0.1135 0.0018)
OKLCHoklch(59.25% 0.114 0.9)
XYZxyz(26.4285, 19.2952, 20.7410)
Luminance0.1929 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45F7A #5FB499
analogous
#B45FA5 #B45F7A #B46F5F
triadic
#B45F7A #7AB45F #5F7AB4
tetradic
#B45F7A #A5B45F #5FB499 #6F5FB4
square
#B45F7A #A5B45F #5FB499 #6F5FB4
split-complementary
#B45F7A #5FB46F #5FA5B4
monochromatic
#683142 #92445D #B45F7A #C8899D #DBB2BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B45F7A#FFFFFF#000000##000000
##B45F7A1.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)
#6C707B
Deuteranopia (green-blind)
#827F78
Tritanopia (blue-blind)
#C05969
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b45f7a;
/* rgb */ color: rgb(180, 95, 122);
/* oklch */ color: oklch(59.2% 0.114 0.9);
Tailwind
colors: {
  custom: {
    50: '#cd8ea0',
    500: '#b45f7a',
    950: '#000000',
  },
}
SCSS
$custom: #b45f7a;
$custom-light: #cd8ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#b45f7a",
  "rgb": {
    "r": 180,
    "g": 95,
    "b": 122
  },
  "hsl": {
    "h": 340.941,
    "s": 36.17,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59249,
    "c": 0.11352,
    "h": 0.9
  },
  "luminance": 0.19293
}

Semantic roles & 50–950 ramp

primary
#B45F7A
secondary
#A5CABE
accent
#CCA85C
background
#FCF8F9
surface
#F9F0F2
border
#D2CBCC
text
#140C0E
muted
#827D7E

Preview Lab

Preview with #B45F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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