#B751A4#B751A4

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

Color values

HEX#B751A4
RGBrgb(183, 81, 164)
HSLhsl(311, 41%, 52%)
HSVhsv(311, 56%, 72%)
CMYKcmyk(0%, 55.7%, 10.4%, 28.2%)
CIE-LABlab(50.26, 51.68, -25.55)
CIE-LCHlch(50.26, 57.65, 333.69°)
OKLaboklab(59.25% 0.1499 -0.0693)
OKLCHoklch(59.25% 0.165 335.2)
XYZxyz(29.1719, 18.6346, 37.1751)
Luminance0.1863 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B751A4 #51B764
analogous
#9751B7 #B751A4 #B75171
triadic
#B751A4 #A4B751 #51A4B7
tetradic
#B751A4 #B79751 #51B764 #5171B7
square
#B751A4 #B79751 #51B764 #5171B7
split-complementary
#B751A4 #71B751 #51B797
monochromatic
#642959 #8F3B80 #B751A4 #C97CBB #DBA8D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B751A4#FFFFFF#000000##000000
##B751A41.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)
#516EA7
Deuteranopia (green-blind)
#6F7DA1
Tritanopia (blue-blind)
#BF5773
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b751a4;
/* rgb */ color: rgb(183, 81, 164);
/* oklch */ color: oklch(59.3% 0.165 335.2);
Tailwind
colors: {
  custom: {
    50: '#cf87bf',
    500: '#b751a4',
    950: '#000000',
  },
}
SCSS
$custom: #b751a4;
$custom-light: #cf87bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b751a4",
  "rgb": {
    "r": 183,
    "g": 81,
    "b": 164
  },
  "hsl": {
    "h": 311.176,
    "s": 41.463,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5925,
    "c": 0.16516,
    "h": 335.2
  },
  "luminance": 0.18632
}

Semantic roles & 50–950 ramp

primary
#B751A4
secondary
#9CC8A4
accent
#D16D57
background
#FDF8FB
surface
#FAF0F7
border
#D3CBD0
text
#140C12
muted
#837D81

Preview Lab

Preview with #B751A4

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

Preview Lab → · Contrast checker → · Palette generator →

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