#B45174#B45174

#B45174 is a mid, vivid pink. Relative luminance 0.168; OKLCH L 57.0% C 0.133 H 360.0°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#B45174
RGBrgb(180, 81, 116)
HSLhsl(339, 40%, 51%)
HSVhsv(339, 55%, 71%)
CMYKcmyk(0%, 55%, 35.6%, 29.4%)
CIE-LABlab(48.07, 43.84, -0.22)
CIE-LCHlch(48.07, 43.84, 359.71°)
OKLaboklab(56.97% 0.1334 0)
OKLCHoklch(56.97% 0.133 0)
XYZxyz(24.9185, 16.8516, 18.4600)
Luminance0.1685 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45174 #51B491
analogous
#B451A5 #B45174 #B45F51
triadic
#B45174 #74B451 #5174B4
tetradic
#B45174 #A5B451 #51B491 #5F51B4
square
#B45174 #A5B451 #51B491 #5F51B4
split-complementary
#B45174 #51B45F #51A5B4
monochromatic
#612A3D #8C3C58 #B45174 #C67C96 #D9A7B8

Accessibility & contrast

On white

4.81
#B45174 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#B45174 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B45174
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45174#FFFFFF#000000##FFFFFF
##B451741.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#616775
Deuteranopia (green-blind)
#7B7972
Tritanopia (blue-blind)
#C1495E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b45174;
/* rgb */ color: rgb(180, 81, 116);
/* oklch */ color: oklch(57.0% 0.133 360.0);
Tailwind
colors: {
  custom: {
    50: '#ce859b',
    500: '#b45174',
    950: '#000000',
  },
}
SCSS
$custom: #b45174;
$custom-light: #ce859b;
$custom-dark: #000000;
JSON
{
  "hex": "#b45174",
  "rgb": {
    "r": 180,
    "g": 81,
    "b": 116
  },
  "hsl": {
    "h": 338.788,
    "s": 39.759,
    "l": 51.176
  },
  "oklch": {
    "l": 0.56965,
    "c": 0.13343,
    "h": 360
  },
  "luminance": 0.16849
}

Semantic roles & 50–950 ramp

primary
#B45174
secondary
#9BC6B7
accent
#D0A558
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#140B0E
muted
#837C7E

Preview Lab

Preview with #B45174

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

Preview Lab → · Contrast checker → · Palette generator →

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