#B74CA2#B74CA2

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

Color values

HEX#B74CA2
RGBrgb(183, 76, 162)
HSLhsl(312, 43%, 51%)
HSVhsv(312, 58%, 72%)
CMYKcmyk(0%, 58.5%, 11.5%, 28.2%)
CIE-LABlab(49.31, 53.68, -25.84)
CIE-LCHlch(49.31, 59.57, 334.30°)
OKLaboklab(58.52% 0.1564 -0.0701)
OKLCHoklch(58.52% 0.171 335.9)
XYZxyz(28.6347, 17.8470, 36.1121)
Luminance0.1784 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74CA2 #4CB761
analogous
#964CB7 #B74CA2 #B74C6C
triadic
#B74CA2 #A2B74C #4CA2B7
tetradic
#B74CA2 #B7964C #4CB761 #4C6CB7
square
#B74CA2 #B7964C #4CB761 #4C6CB7
split-complementary
#B74CA2 #6CB74C #4CB796
monochromatic
#612756 #8D397D #B74CA2 #C978B9 #DAA3CF

Accessibility & contrast

On white

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

On black

4.57
#B74CA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B74CA2#FFFFFF#000000##FFFFFF
##B74CA21.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6BA5
Deuteranopia (green-blind)
#6D7B9F
Tritanopia (blue-blind)
#C05270
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b74ca2;
/* rgb */ color: rgb(183, 76, 162);
/* oklch */ color: oklch(58.5% 0.171 335.9);
Tailwind
colors: {
  custom: {
    50: '#cf84bd',
    500: '#b74ca2',
    950: '#000000',
  },
}
SCSS
$custom: #b74ca2;
$custom-light: #cf84bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b74ca2",
  "rgb": {
    "r": 183,
    "g": 76,
    "b": 162
  },
  "hsl": {
    "h": 311.776,
    "s": 42.629,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58524,
    "c": 0.17134,
    "h": 335.9
  },
  "luminance": 0.17845
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B74CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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