#B35172#B35172

#B35172 is a mid, vivid pink. Relative luminance 0.167; OKLCH L 56.8% C 0.132 H 1.0°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#B35172
RGBrgb(179, 81, 114)
HSLhsl(340, 39%, 51%)
HSVhsv(340, 55%, 70%)
CMYKcmyk(0%, 54.7%, 36.3%, 29.8%)
CIE-LABlab(47.86, 43.25, 0.66)
CIE-LCHlch(47.86, 43.26, 0.88°)
OKLaboklab(56.76% 0.1317 0.0023)
OKLCHoklch(56.76% 0.132 1)
XYZxyz(24.5714, 16.6859, 17.8430)
Luminance0.1668 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B35172 #51B392
analogous
#B351A3 #B35172 #B36151
triadic
#B35172 #72B351 #5172B3
tetradic
#B35172 #A3B351 #51B392 #6151B3
square
#B35172 #A3B351 #51B392 #6151B3
split-complementary
#B35172 #51B361 #51A3B3
monochromatic
#602A3C #8A3C57 #B35172 #C67C95 #D8A6B7

Accessibility & contrast

On white

4.84
#B35172 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#B35172 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B35172
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B35172#FFFFFF#000000##FFFFFF
##B351721.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#616673
Deuteranopia (green-blind)
#7B7970
Tritanopia (blue-blind)
#C0495D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b35172;
/* rgb */ color: rgb(179, 81, 114);
/* oklch */ color: oklch(56.8% 0.132 1.0);
Tailwind
colors: {
  custom: {
    50: '#cd859a',
    500: '#b35172',
    950: '#000000',
  },
}
SCSS
$custom: #b35172;
$custom-light: #cd859a;
$custom-dark: #000000;
JSON
{
  "hex": "#b35172",
  "rgb": {
    "r": 179,
    "g": 81,
    "b": 114
  },
  "hsl": {
    "h": 339.796,
    "s": 39.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56758,
    "c": 0.13167,
    "h": 1
  },
  "luminance": 0.16683
}

Semantic roles & 50–950 ramp

primary
#B35172
secondary
#9AC6B7
accent
#CFA759
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#140B0E
muted
#837C7E

Preview Lab

Preview with #B35172

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

Preview Lab → · Contrast checker → · Palette generator →

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