#B751A6#B751A6

#B751A6 is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.3% C 0.167 H 334.3°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B751A6
RGBrgb(183, 81, 166)
HSLhsl(310, 41%, 52%)
HSVhsv(310, 56%, 72%)
CMYKcmyk(0%, 55.7%, 9.3%, 28.2%)
CIE-LABlab(50.34, 52.01, -26.59)
CIE-LCHlch(50.34, 58.41, 332.92°)
OKLaboklab(59.34% 0.1503 -0.0723)
OKLCHoklch(59.34% 0.167 334.3)
XYZxyz(29.3539, 18.7074, 38.1338)
Luminance0.1870 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B751A6 #51B762
analogous
#9551B7 #B751A6 #B75173
triadic
#B751A6 #A6B751 #51A6B7
tetradic
#B751A6 #B79551 #51B762 #5173B7
square
#B751A6 #B79551 #51B762 #5173B7
split-complementary
#B751A6 #73B751 #51B795
monochromatic
#64295A #8F3B81 #B751A6 #C97CBC #DBA8D2

Accessibility & contrast

On white

4.43
#B751A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#B751A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B751A6
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B751A6#FFFFFF#000000##000000
##B751A61.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#506EA9
Deuteranopia (green-blind)
#6F7DA3
Tritanopia (blue-blind)
#BF5774
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b751a6;
/* rgb */ color: rgb(183, 81, 166);
/* oklch */ color: oklch(59.3% 0.167 334.3);
Tailwind
colors: {
  custom: {
    50: '#cf87c0',
    500: '#b751a6',
    950: '#000000',
  },
}
SCSS
$custom: #b751a6;
$custom-light: #cf87c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b751a6",
  "rgb": {
    "r": 183,
    "g": 81,
    "b": 166
  },
  "hsl": {
    "h": 310,
    "s": 41.463,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59342,
    "c": 0.16676,
    "h": 334.3
  },
  "luminance": 0.18705
}

Semantic roles & 50–950 ramp

primary
#B751A6
secondary
#9CC8A3
accent
#D16B57
background
#FDF8FB
surface
#FAF0F7
border
#D3CBD0
text
#140C12
muted
#837D81

Preview Lab

Preview with #B751A6

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

Preview Lab → · Contrast checker → · Palette generator →

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