#B05170#B05170

#B05170 is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.3% C 0.128 H 1.5°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#B05170
RGBrgb(176, 81, 112)
HSLhsl(340, 38%, 50%)
HSVhsv(340, 54%, 69%)
CMYKcmyk(0%, 54%, 36.4%, 31%)
CIE-LABlab(47.35, 41.97, 1.07)
CIE-LCHlch(47.35, 41.99, 1.46°)
OKLaboklab(56.26% 0.1277 0.0033)
OKLCHoklch(56.26% 0.128 1.5)
XYZxyz(23.7728, 16.2872, 17.2179)
Luminance0.1628 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B05170 #51B091
analogous
#B0519F #B05170 #B06151
triadic
#B05170 #70B051 #5170B0
tetradic
#B05170 #9FB051 #51B091 #6151B0
square
#B05170 #9FB051 #51B091 #6151B0
split-complementary
#B05170 #51B061 #519FB0
monochromatic
#5D2A3B #873D55 #B05170 #C37B93 #D6A5B5

Accessibility & contrast

On white

4.93
#B05170 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#B05170 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B05170
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B05170#FFFFFF#000000##FFFFFF
##B051701.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#616571
Deuteranopia (green-blind)
#7A776E
Tritanopia (blue-blind)
#BD495C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b05170;
/* rgb */ color: rgb(176, 81, 112);
/* oklch */ color: oklch(56.3% 0.128 1.5);
Tailwind
colors: {
  custom: {
    50: '#cb8599',
    500: '#b05170',
    950: '#000000',
  },
}
SCSS
$custom: #b05170;
$custom-light: #cb8599;
$custom-dark: #000000;
JSON
{
  "hex": "#b05170",
  "rgb": {
    "r": 176,
    "g": 81,
    "b": 112
  },
  "hsl": {
    "h": 340.421,
    "s": 37.549,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56263,
    "c": 0.12776,
    "h": 1.5
  },
  "luminance": 0.16285
}

Semantic roles & 50–950 ramp

primary
#B05170
secondary
#99C4B6
accent
#CEA85A
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0D
muted
#827C7E

Preview Lab

Preview with #B05170

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

Preview Lab → · Contrast checker → · Palette generator →

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