#B64796#B64796

#B64796 is a mid, vivid pink. Relative luminance 0.167; OKLCH L 57.2% C 0.169 H 340.5°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#B64796
RGBrgb(182, 71, 150)
HSLhsl(317, 44%, 50%)
HSVhsv(317, 61%, 71%)
CMYKcmyk(0%, 61%, 17.6%, 28.6%)
CIE-LABlab(47.82, 53.79, -21.02)
CIE-LCHlch(47.82, 57.75, 338.66°)
OKLaboklab(57.24% 0.1596 -0.0564)
OKLCHoklch(57.24% 0.169 340.5)
XYZxyz(27.0502, 16.6559, 30.6385)
Luminance0.1665 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B64796 #47B667
analogous
#9F47B6 #B64796 #B6475F
triadic
#B64796 #96B647 #4796B6
tetradic
#B64796 #B69F47 #47B667 #475FB6
square
#B64796 #B69F47 #47B667 #475FB6
split-complementary
#B64796 #5FB647 #47B69F
monochromatic
#5E254D #8A3672 #B64796 #C872AF #D99EC8

Accessibility & contrast

On white

4.85
#B64796 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#B64796 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B64796
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B64796#FFFFFF#000000##FFFFFF
##B647961.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6698
Deuteranopia (green-blind)
#6E7893
Tritanopia (blue-blind)
#C04968
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b64796;
/* rgb */ color: rgb(182, 71, 150);
/* oklch */ color: oklch(57.2% 0.169 340.5);
Tailwind
colors: {
  custom: {
    50: '#cf81b5',
    500: '#b64796',
    950: '#000000',
  },
}
SCSS
$custom: #b64796;
$custom-light: #cf81b5;
$custom-dark: #000000;
JSON
{
  "hex": "#b64796",
  "rgb": {
    "r": 182,
    "g": 71,
    "b": 150
  },
  "hsl": {
    "h": 317.297,
    "s": 43.874,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57235,
    "c": 0.16933,
    "h": 340.5
  },
  "luminance": 0.16654
}

Semantic roles & 50–950 ramp

primary
#B64796
secondary
#93C6A2
accent
#D47954
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #B64796

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

Preview Lab → · Contrast checker → · Palette generator →

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