#B45F7F#B45F7F

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

Color values

HEX#B45F7F
RGBrgb(180, 95, 127)
HSLhsl(337, 36%, 54%)
HSVhsv(337, 47%, 71%)
CMYKcmyk(0%, 47.2%, 29.4%, 29.4%)
CIE-LABlab(51.18, 38.09, -2.27)
CIE-LCHlch(51.18, 38.16, 356.59°)
OKLaboklab(59.41% 0.1153 -0.0055)
OKLCHoklch(59.41% 0.115 357.3)
XYZxyz(26.7463, 19.4223, 22.4148)
Luminance0.1942 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45F7F #5FB494
analogous
#B45FAA #B45F7F #B46A5F
triadic
#B45F7F #7FB45F #5F7FB4
tetradic
#B45F7F #AAB45F #5FB494 #6A5FB4
square
#B45F7F #AAB45F #5FB494 #6A5FB4
split-complementary
#B45F7F #5FB46A #5FAAB4
monochromatic
#683145 #924461 #B45F7F #C889A0 #DBB2C2

Accessibility & contrast

On white

4.30
#B45F7F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#B45F7F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45F7F
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45F7F#FFFFFF#000000##000000
##B45F7F1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7080
Deuteranopia (green-blind)
#81807D
Tritanopia (blue-blind)
#C05A6B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b45f7f;
/* rgb */ color: rgb(180, 95, 127);
/* oklch */ color: oklch(59.4% 0.115 357.3);
Tailwind
colors: {
  custom: {
    50: '#cd8ea4',
    500: '#b45f7f',
    950: '#000000',
  },
}
SCSS
$custom: #b45f7f;
$custom-light: #cd8ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#b45f7f",
  "rgb": {
    "r": 180,
    "g": 95,
    "b": 127
  },
  "hsl": {
    "h": 337.412,
    "s": 36.17,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59409,
    "c": 0.11544,
    "h": 357.3
  },
  "luminance": 0.1942
}

Semantic roles & 50–950 ramp

primary
#B45F7F
secondary
#A5CABC
accent
#CCA25C
background
#FCF8FA
surface
#F9F0F4
border
#D2CBCE
text
#140C0F
muted
#827D7F

Preview Lab

Preview with #B45F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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