#B751A3#B751A3

#B751A3 is a mid, vivid pink. Relative luminance 0.186; OKLCH L 59.2% C 0.164 H 335.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#B751A3
RGBrgb(183, 81, 163)
HSLhsl(312, 41%, 52%)
HSVhsv(312, 56%, 72%)
CMYKcmyk(0%, 55.7%, 10.9%, 28.2%)
CIE-LABlab(50.21, 51.52, -25.03)
CIE-LCHlch(50.21, 57.27, 334.09°)
OKLaboklab(59.2% 0.1497 -0.0678)
OKLCHoklch(59.2% 0.164 335.6)
XYZxyz(29.0819, 18.5986, 36.7014)
Luminance0.1860 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B751A3 #51B765
analogous
#9851B7 #B751A3 #B75170
triadic
#B751A3 #A3B751 #51A3B7
tetradic
#B751A3 #B79851 #51B765 #5170B7
square
#B751A3 #B79851 #51B765 #5170B7
split-complementary
#B751A3 #70B751 #51B798
monochromatic
#642959 #8F3B7F #B751A3 #C97CBA #DBA8D1

Accessibility & contrast

On white

4.45
#B751A3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#B751A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B751A3
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B751A3#FFFFFF#000000##000000
##B751A31.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#526EA6
Deuteranopia (green-blind)
#707DA0
Tritanopia (blue-blind)
#BF5673
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b751a3;
/* rgb */ color: rgb(183, 81, 163);
/* oklch */ color: oklch(59.2% 0.164 335.6);
Tailwind
colors: {
  custom: {
    50: '#cf87be',
    500: '#b751a3',
    950: '#000000',
  },
}
SCSS
$custom: #b751a3;
$custom-light: #cf87be;
$custom-dark: #000000;
JSON
{
  "hex": "#b751a3",
  "rgb": {
    "r": 183,
    "g": 81,
    "b": 163
  },
  "hsl": {
    "h": 311.765,
    "s": 41.463,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59204,
    "c": 0.16437,
    "h": 335.6
  },
  "luminance": 0.18596
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B751A3

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

Preview Lab → · Contrast checker → · Palette generator →

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