#B751A2#B751A2

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

Color values

HEX#B751A2
RGBrgb(183, 81, 162)
HSLhsl(312, 41%, 52%)
HSVhsv(312, 56%, 72%)
CMYKcmyk(0%, 55.7%, 11.5%, 28.2%)
CIE-LABlab(50.17, 51.36, -24.50)
CIE-LCHlch(50.17, 56.90, 334.49°)
OKLaboklab(59.16% 0.1495 -0.0663)
OKLCHoklch(59.16% 0.164 336.1)
XYZxyz(28.9927, 18.5629, 36.2314)
Luminance0.1856 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B751A2 #51B766
analogous
#9951B7 #B751A2 #B7516F
triadic
#B751A2 #A2B751 #51A2B7
tetradic
#B751A2 #B79951 #51B766 #516FB7
square
#B751A2 #B79951 #51B766 #516FB7
split-complementary
#B751A2 #6FB751 #51B799
monochromatic
#642958 #8F3B7E #B751A2 #C97CB9 #DBA8D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B751A2#FFFFFF#000000##000000
##B751A21.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)
#526EA5
Deuteranopia (green-blind)
#707D9F
Tritanopia (blue-blind)
#BF5672
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b751a2;
/* rgb */ color: rgb(183, 81, 162);
/* oklch */ color: oklch(59.2% 0.164 336.1);
Tailwind
colors: {
  custom: {
    50: '#cf87bd',
    500: '#b751a2',
    950: '#000000',
  },
}
SCSS
$custom: #b751a2;
$custom-light: #cf87bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b751a2",
  "rgb": {
    "r": 183,
    "g": 81,
    "b": 162
  },
  "hsl": {
    "h": 312.353,
    "s": 41.463,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59159,
    "c": 0.16359,
    "h": 336.1
  },
  "luminance": 0.18561
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B751A2

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

Preview Lab → · Contrast checker → · Palette generator →

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