#B45F7E#B45F7E

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

Color values

HEX#B45F7E
RGBrgb(180, 95, 126)
HSLhsl(338, 36%, 54%)
HSVhsv(338, 47%, 71%)
CMYKcmyk(0%, 47.2%, 30%, 29.4%)
CIE-LABlab(51.15, 37.96, -1.72)
CIE-LCHlch(51.15, 38.00, 357.41°)
OKLaboklab(59.38% 0.115 -0.004)
OKLCHoklch(59.38% 0.115 358)
XYZxyz(26.6815, 19.3963, 22.0732)
Luminance0.1939 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45F7E #5FB495
analogous
#B45FA9 #B45F7E #B46B5F
triadic
#B45F7E #7EB45F #5F7EB4
tetradic
#B45F7E #A9B45F #5FB495 #6B5FB4
square
#B45F7E #A9B45F #5FB495 #6B5FB4
split-complementary
#B45F7E #5FB46B #5FA9B4
monochromatic
#683145 #924460 #B45F7E #C889A0 #DBB2C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B45F7E#FFFFFF#000000##000000
##B45F7E1.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)
#6B707F
Deuteranopia (green-blind)
#81807C
Tritanopia (blue-blind)
#C05A6A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b45f7e;
/* rgb */ color: rgb(180, 95, 126);
/* oklch */ color: oklch(59.4% 0.115 358.0);
Tailwind
colors: {
  custom: {
    50: '#cd8ea3',
    500: '#b45f7e',
    950: '#000000',
  },
}
SCSS
$custom: #b45f7e;
$custom-light: #cd8ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#b45f7e",
  "rgb": {
    "r": 180,
    "g": 95,
    "b": 126
  },
  "hsl": {
    "h": 338.118,
    "s": 36.17,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59376,
    "c": 0.11502,
    "h": 358
  },
  "luminance": 0.19394
}

Semantic roles & 50–950 ramp

primary
#B45F7E
secondary
#A5CABC
accent
#CCA35C
background
#FCF8FA
surface
#F9F0F3
border
#D2CBCD
text
#140C0F
muted
#827D7F

Preview Lab

Preview with #B45F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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