#B731A0#B731A0

#B731A0 is a mid, highly saturated pink. Relative luminance 0.148; OKLCH L 55.6% C 0.206 H 335.9°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#B731A0
RGBrgb(183, 49, 160)
HSLhsl(310, 58%, 45%)
HSVhsv(310, 73%, 72%)
CMYKcmyk(0%, 73.2%, 12.6%, 28.2%)
CIE-LABlab(45.37, 64.07, -30.79)
CIE-LCHlch(45.37, 71.08, 334.33°)
OKLaboklab(55.62% 0.1877 -0.084)
OKLCHoklch(55.62% 0.206 335.9)
XYZxyz(26.9723, 14.8044, 34.6879)
Luminance0.1480 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B731A0 #31B748
analogous
#8B31B7 #B731A0 #B7315D
triadic
#B731A0 #A0B731 #31A0B7
tetradic
#B731A0 #B78B31 #31B748 #315DB7
square
#B731A0 #B78B31 #31B748 #315DB7
split-complementary
#B731A0 #5DB731 #31B78B
monochromatic
#56174C #872476 #B731A0 #D154BC #DE84CF

Accessibility & contrast

On white

5.30
#B731A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#B731A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B731A0
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B731A0#FFFFFF#000000##FFFFFF
##B731A01.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325FA3
Deuteranopia (green-blind)
#61739D
Tritanopia (blue-blind)
#C03B65
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b731a0;
/* rgb */ color: rgb(183, 49, 160);
/* oklch */ color: oklch(55.6% 0.206 335.9);
Tailwind
colors: {
  custom: {
    50: '#d076bc',
    500: '#b731a0',
    950: '#000000',
  },
}
SCSS
$custom: #b731a0;
$custom-light: #d076bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b731a0",
  "rgb": {
    "r": 183,
    "g": 49,
    "b": 160
  },
  "hsl": {
    "h": 310.299,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55621,
    "c": 0.20563,
    "h": 335.9
  },
  "luminance": 0.14802
}

Semantic roles & 50–950 ramp

primary
#B731A0
secondary
#7CC889
accent
#E16147
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B731A0

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

Preview Lab → · Contrast checker → · Palette generator →

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