#B74CA1#B74CA1

#B74CA1 is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.5% C 0.171 H 336.3°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#B74CA1
RGBrgb(183, 76, 161)
HSLhsl(312, 43%, 51%)
HSVhsv(312, 58%, 72%)
CMYKcmyk(0%, 58.5%, 12%, 28.2%)
CIE-LABlab(49.27, 53.52, -25.31)
CIE-LCHlch(49.27, 59.20, 334.69°)
OKLaboklab(58.48% 0.1562 -0.0686)
OKLCHoklch(58.48% 0.171 336.3)
XYZxyz(28.5462, 17.8116, 35.6458)
Luminance0.1781 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74CA1 #4CB762
analogous
#974CB7 #B74CA1 #B74C6C
triadic
#B74CA1 #A1B74C #4CA1B7
tetradic
#B74CA1 #B7974C #4CB762 #4C6CB7
square
#B74CA1 #B7974C #4CB762 #4C6CB7
split-complementary
#B74CA1 #6CB74C #4CB797
monochromatic
#612755 #8D397C #B74CA1 #C978B8 #DAA3CF

Accessibility & contrast

On white

4.60
#B74CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#B74CA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B74CA1
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74CA1#FFFFFF#000000##FFFFFF
##B74CA11.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6BA4
Deuteranopia (green-blind)
#6E7B9E
Tritanopia (blue-blind)
#C05170
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b74ca1;
/* rgb */ color: rgb(183, 76, 161);
/* oklch */ color: oklch(58.5% 0.171 336.3);
Tailwind
colors: {
  custom: {
    50: '#cf84bd',
    500: '#b74ca1',
    950: '#000000',
  },
}
SCSS
$custom: #b74ca1;
$custom-light: #cf84bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b74ca1",
  "rgb": {
    "r": 183,
    "g": 76,
    "b": 161
  },
  "hsl": {
    "h": 312.336,
    "s": 42.629,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58478,
    "c": 0.17058,
    "h": 336.3
  },
  "luminance": 0.17809
}

Semantic roles & 50–950 ramp

primary
#B74CA1
secondary
#98C7A1
accent
#D26F55
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #B74CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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