#B45F7D#B45F7D

#B45F7D is a mid, moderate pink. Relative luminance 0.194; OKLCH L 59.3% C 0.115 H 358.7°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B45F7D
RGBrgb(180, 95, 125)
HSLhsl(339, 36%, 54%)
HSVhsv(339, 47%, 71%)
CMYKcmyk(0%, 47.2%, 30.6%, 29.4%)
CIE-LABlab(51.12, 37.82, -1.17)
CIE-LCHlch(51.12, 37.84, 358.23°)
OKLaboklab(59.34% 0.1146 -0.0026)
OKLCHoklch(59.34% 0.115 358.7)
XYZxyz(26.6173, 19.3707, 21.7351)
Luminance0.1937 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45F7D #5FB496
analogous
#B45FA7 #B45F7D #B46C5F
triadic
#B45F7D #7DB45F #5F7DB4
tetradic
#B45F7D #A7B45F #5FB496 #6C5FB4
square
#B45F7D #A7B45F #5FB496 #6C5FB4
split-complementary
#B45F7D #5FB46C #5FA7B4
monochromatic
#683144 #924460 #B45F7D #C8899F #DBB2C1

Accessibility & contrast

On white

4.31
#B45F7D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#B45F7D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45F7D
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45F7D#FFFFFF#000000##000000
##B45F7D1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B707E
Deuteranopia (green-blind)
#81807B
Tritanopia (blue-blind)
#C0596A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b45f7d;
/* rgb */ color: rgb(180, 95, 125);
/* oklch */ color: oklch(59.3% 0.115 358.7);
Tailwind
colors: {
  custom: {
    50: '#cd8ea2',
    500: '#b45f7d',
    950: '#000000',
  },
}
SCSS
$custom: #b45f7d;
$custom-light: #cd8ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#b45f7d",
  "rgb": {
    "r": 180,
    "g": 95,
    "b": 125
  },
  "hsl": {
    "h": 338.824,
    "s": 36.17,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59344,
    "c": 0.11463,
    "h": 358.7
  },
  "luminance": 0.19368
}

Semantic roles & 50–950 ramp

primary
#B45F7D
secondary
#A5CABD
accent
#CCA45C
background
#FCF8F9
surface
#F9F0F2
border
#D2CBCC
text
#140C0F
muted
#827D7E

Preview Lab

Preview with #B45F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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