#B74CA3#B74CA3

#B74CA3 is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.6% C 0.172 H 335.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#B74CA3
RGBrgb(183, 76, 163)
HSLhsl(311, 43%, 51%)
HSVhsv(311, 58%, 72%)
CMYKcmyk(0%, 58.5%, 10.9%, 28.2%)
CIE-LABlab(49.35, 53.84, -26.36)
CIE-LCHlch(49.35, 59.95, 333.91°)
OKLaboklab(58.57% 0.1565 -0.0716)
OKLCHoklch(58.57% 0.172 335.4)
XYZxyz(28.7239, 17.8827, 36.5821)
Luminance0.1788 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74CA3 #4CB760
analogous
#954CB7 #B74CA3 #B74C6D
triadic
#B74CA3 #A3B74C #4CA3B7
tetradic
#B74CA3 #B7954C #4CB760 #4C6DB7
square
#B74CA3 #B7954C #4CB760 #4C6DB7
split-complementary
#B74CA3 #6DB74C #4CB795
monochromatic
#612757 #8D397D #B74CA3 #C978B9 #DAA3D0

Accessibility & contrast

On white

4.59
#B74CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#B74CA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B74CA3
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74CA3#FFFFFF#000000##FFFFFF
##B74CA31.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6BA6
Deuteranopia (green-blind)
#6D7BA0
Tritanopia (blue-blind)
#BF5270
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b74ca3;
/* rgb */ color: rgb(183, 76, 163);
/* oklch */ color: oklch(58.6% 0.172 335.4);
Tailwind
colors: {
  custom: {
    50: '#cf84be',
    500: '#b74ca3',
    950: '#000000',
  },
}
SCSS
$custom: #b74ca3;
$custom-light: #cf84be;
$custom-dark: #000000;
JSON
{
  "hex": "#b74ca3",
  "rgb": {
    "r": 183,
    "g": 76,
    "b": 163
  },
  "hsl": {
    "h": 311.215,
    "s": 42.629,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58571,
    "c": 0.17212,
    "h": 335.4
  },
  "luminance": 0.17881
}

Semantic roles & 50–950 ramp

primary
#B74CA3
secondary
#98C7A1
accent
#D26D55
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #B74CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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