#B45F7C#B45F7C

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

Color values

HEX#B45F7C
RGBrgb(180, 95, 124)
HSLhsl(340, 36%, 54%)
HSVhsv(340, 47%, 71%)
CMYKcmyk(0%, 47.2%, 31.1%, 29.4%)
CIE-LABlab(51.09, 37.69, -0.61)
CIE-LCHlch(51.09, 37.69, 359.07°)
OKLaboklab(59.31% 0.1142 -0.0011)
OKLCHoklch(59.31% 0.114 359.4)
XYZxyz(26.5537, 19.3452, 21.4004)
Luminance0.1934 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45F7C #5FB497
analogous
#B45FA7 #B45F7C #B46D5F
triadic
#B45F7C #7CB45F #5F7CB4
tetradic
#B45F7C #A7B45F #5FB497 #6D5FB4
square
#B45F7C #A7B45F #5FB497 #6D5FB4
split-complementary
#B45F7C #5FB46D #5FA7B4
monochromatic
#683144 #92445F #B45F7C #C8899E #DBB2C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B45F7C#FFFFFF#000000##000000
##B45F7C1.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)
#6C707D
Deuteranopia (green-blind)
#81807A
Tritanopia (blue-blind)
#C05969
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b45f7c;
/* rgb */ color: rgb(180, 95, 124);
/* oklch */ color: oklch(59.3% 0.114 359.4);
Tailwind
colors: {
  custom: {
    50: '#cd8ea1',
    500: '#b45f7c',
    950: '#000000',
  },
}
SCSS
$custom: #b45f7c;
$custom-light: #cd8ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#b45f7c",
  "rgb": {
    "r": 180,
    "g": 95,
    "b": 124
  },
  "hsl": {
    "h": 339.529,
    "s": 36.17,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59312,
    "c": 0.11425,
    "h": 359.4
  },
  "luminance": 0.19343
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B45F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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