#B74AA2#B74AA2

#B74AA2 is a mid, vivid pink. Relative luminance 0.176; OKLCH L 58.3% C 0.174 H 335.8°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#B74AA2
RGBrgb(183, 74, 162)
HSLhsl(312, 43%, 50%)
HSVhsv(312, 60%, 72%)
CMYKcmyk(0%, 59.6%, 11.5%, 28.2%)
CIE-LABlab(48.98, 54.58, -26.35)
CIE-LCHlch(48.98, 60.61, 334.23°)
OKLaboklab(58.28% 0.159 -0.0715)
OKLCHoklch(58.28% 0.174 335.8)
XYZxyz(28.4991, 17.5757, 36.0669)
Luminance0.1757 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74AA2 #4AB75F
analogous
#964AB7 #B74AA2 #B74A6B
triadic
#B74AA2 #A2B74A #4AA2B7
tetradic
#B74AA2 #B7964A #4AB75F #4A6BB7
square
#B74AA2 #B7964A #4AB75F #4A6BB7
split-complementary
#B74AA2 #6BB74A #4AB796
monochromatic
#602655 #8C387C #B74AA2 #C876B8 #DAA2CF

Accessibility & contrast

On white

4.65
#B74AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#B74AA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B74AA2
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74AA2#FFFFFF#000000##FFFFFF
##B74AA21.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6AA5
Deuteranopia (green-blind)
#6C7A9F
Tritanopia (blue-blind)
#C0506F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b74aa2;
/* rgb */ color: rgb(183, 74, 162);
/* oklch */ color: oklch(58.3% 0.174 335.8);
Tailwind
colors: {
  custom: {
    50: '#cf83bd',
    500: '#b74aa2',
    950: '#000000',
  },
}
SCSS
$custom: #b74aa2;
$custom-light: #cf83bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b74aa2",
  "rgb": {
    "r": 183,
    "g": 74,
    "b": 162
  },
  "hsl": {
    "h": 311.56,
    "s": 43.083,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5828,
    "c": 0.17436,
    "h": 335.8
  },
  "luminance": 0.17573
}

Semantic roles & 50–950 ramp

primary
#B74AA2
secondary
#96C79F
accent
#D36D55
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #B74AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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