#B751A0#B751A0

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

Color values

HEX#B751A0
RGBrgb(183, 81, 160)
HSLhsl(314, 41%, 52%)
HSVhsv(314, 56%, 72%)
CMYKcmyk(0%, 55.7%, 12.6%, 28.2%)
CIE-LABlab(50.09, 51.03, -23.45)
CIE-LCHlch(50.09, 56.16, 335.32°)
OKLaboklab(59.07% 0.1491 -0.0634)
OKLCHoklch(59.07% 0.162 337)
XYZxyz(28.8163, 18.4924, 35.3026)
Luminance0.1849 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B751A0 #51B768
analogous
#9B51B7 #B751A0 #B7516D
triadic
#B751A0 #A0B751 #51A0B7
tetradic
#B751A0 #B79B51 #51B768 #516DB7
square
#B751A0 #B79B51 #51B768 #516DB7
split-complementary
#B751A0 #6DB751 #51B79B
monochromatic
#642957 #8F3B7C #B751A0 #C97CB8 #DBA8CF

Accessibility & contrast

On white

4.47
#B751A0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#B751A0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B751A0
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B751A0#FFFFFF#000000##000000
##B751A01.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#536DA3
Deuteranopia (green-blind)
#717D9D
Tritanopia (blue-blind)
#C05571
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b751a0;
/* rgb */ color: rgb(183, 81, 160);
/* oklch */ color: oklch(59.1% 0.162 337.0);
Tailwind
colors: {
  custom: {
    50: '#cf87bc',
    500: '#b751a0',
    950: '#000000',
  },
}
SCSS
$custom: #b751a0;
$custom-light: #cf87bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b751a0",
  "rgb": {
    "r": 183,
    "g": 81,
    "b": 160
  },
  "hsl": {
    "h": 313.529,
    "s": 41.463,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5907,
    "c": 0.16204,
    "h": 337
  },
  "luminance": 0.1849
}

Semantic roles & 50–950 ramp

primary
#B751A0
secondary
#9CC8A6
accent
#D17257
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C12
muted
#837D81

Preview Lab

Preview with #B751A0

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

Preview Lab → · Contrast checker → · Palette generator →

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