#B45271#B45271

#B45271 is a mid, vivid pink. Relative luminance 0.169; OKLCH L 57.0% C 0.131 H 2.2°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#B45271
RGBrgb(180, 82, 113)
HSLhsl(341, 40%, 51%)
HSVhsv(341, 54%, 71%)
CMYKcmyk(0%, 54.4%, 37.2%, 29.4%)
CIE-LABlab(48.18, 42.98, 1.74)
CIE-LCHlch(48.18, 43.01, 2.32°)
OKLaboklab(57.01% 0.1308 0.0051)
OKLCHoklch(57.01% 0.131 2.2)
XYZxyz(24.8217, 16.9327, 17.5807)
Luminance0.1693 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45271 #52B495
analogous
#B452A2 #B45271 #B46452
triadic
#B45271 #71B452 #5271B4
tetradic
#B45271 #A2B452 #52B495 #6452B4
square
#B45271 #A2B452 #52B495 #6452B4
split-complementary
#B45271 #52B464 #52A2B4
monochromatic
#612A3C #8C3D56 #B45271 #C77D94 #D9A7B7

Accessibility & contrast

On white

4.79
#B45271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#B45271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B45271
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45271#FFFFFF#000000##FFFFFF
##B452711.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#636772
Deuteranopia (green-blind)
#7C796F
Tritanopia (blue-blind)
#C2495D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b45271;
/* rgb */ color: rgb(180, 82, 113);
/* oklch */ color: oklch(57.0% 0.131 2.2);
Tailwind
colors: {
  custom: {
    50: '#ce8699',
    500: '#b45271',
    950: '#000000',
  },
}
SCSS
$custom: #b45271;
$custom-light: #ce8699;
$custom-dark: #000000;
JSON
{
  "hex": "#b45271",
  "rgb": {
    "r": 180,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 341.02,
    "s": 39.516,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57014,
    "c": 0.13091,
    "h": 2.2
  },
  "luminance": 0.1693
}

Semantic roles & 50–950 ramp

primary
#B45271
secondary
#9BC7B9
accent
#CFAA58
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#140B0E
muted
#837C7E

Preview Lab

Preview with #B45271

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

Preview Lab → · Contrast checker → · Palette generator →

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