#B751A5#B751A5

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

Color values

HEX#B751A5
RGBrgb(183, 81, 165)
HSLhsl(311, 41%, 52%)
HSVhsv(311, 56%, 72%)
CMYKcmyk(0%, 55.7%, 9.8%, 28.2%)
CIE-LABlab(50.30, 51.84, -26.07)
CIE-LCHlch(50.30, 58.03, 333.30°)
OKLaboklab(59.3% 0.1501 -0.0708)
OKLCHoklch(59.3% 0.166 334.8)
XYZxyz(29.2625, 18.6709, 37.6526)
Luminance0.1867 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B751A5 #51B763
analogous
#9651B7 #B751A5 #B75172
triadic
#B751A5 #A5B751 #51A5B7
tetradic
#B751A5 #B79651 #51B763 #5172B7
square
#B751A5 #B79651 #51B763 #5172B7
split-complementary
#B751A5 #72B751 #51B796
monochromatic
#64295A #8F3B81 #B751A5 #C97CBB #DBA8D2

Accessibility & contrast

On white

4.44
#B751A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#B751A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B751A5
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B751A5#FFFFFF#000000##000000
##B751A51.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#516EA8
Deuteranopia (green-blind)
#6F7DA2
Tritanopia (blue-blind)
#BF5774
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b751a5;
/* rgb */ color: rgb(183, 81, 165);
/* oklch */ color: oklch(59.3% 0.166 334.8);
Tailwind
colors: {
  custom: {
    50: '#cf87c0',
    500: '#b751a5',
    950: '#000000',
  },
}
SCSS
$custom: #b751a5;
$custom-light: #cf87c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b751a5",
  "rgb": {
    "r": 183,
    "g": 81,
    "b": 165
  },
  "hsl": {
    "h": 310.588,
    "s": 41.463,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59296,
    "c": 0.16596,
    "h": 334.8
  },
  "luminance": 0.18669
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B751A5

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

Preview Lab → · Contrast checker → · Palette generator →

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