#B751A1#B751A1

#B751A1 is a mid, vivid pink. Relative luminance 0.185; OKLCH L 59.1% C 0.163 H 336.5°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#B751A1
RGBrgb(183, 81, 161)
HSLhsl(313, 41%, 52%)
HSVhsv(313, 56%, 72%)
CMYKcmyk(0%, 55.7%, 12%, 28.2%)
CIE-LABlab(50.13, 51.19, -23.98)
CIE-LCHlch(50.13, 56.53, 334.90°)
OKLaboklab(59.11% 0.1493 -0.0649)
OKLCHoklch(59.11% 0.163 336.5)
XYZxyz(28.9041, 18.5275, 35.7651)
Luminance0.1852 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B751A1 #51B767
analogous
#9A51B7 #B751A1 #B7516E
triadic
#B751A1 #A1B751 #51A1B7
tetradic
#B751A1 #B79A51 #51B767 #516EB7
square
#B751A1 #B79A51 #51B767 #516EB7
split-complementary
#B751A1 #6EB751 #51B79A
monochromatic
#642957 #8F3B7D #B751A1 #C97CB8 #DBA8D0

Accessibility & contrast

On white

4.46
#B751A1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#B751A1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B751A1
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B751A1#FFFFFF#000000##000000
##B751A11.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#536DA4
Deuteranopia (green-blind)
#707D9E
Tritanopia (blue-blind)
#C05672
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b751a1;
/* rgb */ color: rgb(183, 81, 161);
/* oklch */ color: oklch(59.1% 0.163 336.5);
Tailwind
colors: {
  custom: {
    50: '#cf87bd',
    500: '#b751a1',
    950: '#000000',
  },
}
SCSS
$custom: #b751a1;
$custom-light: #cf87bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b751a1",
  "rgb": {
    "r": 183,
    "g": 81,
    "b": 161
  },
  "hsl": {
    "h": 312.941,
    "s": 41.463,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59114,
    "c": 0.16282,
    "h": 336.5
  },
  "luminance": 0.18525
}

Semantic roles & 50–950 ramp

primary
#B751A1
secondary
#9CC8A5
accent
#D17157
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C12
muted
#837D81

Preview Lab

Preview with #B751A1

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

Preview Lab → · Contrast checker → · Palette generator →

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