#B74EA2#B74EA2

#B74EA2 is a mid, vivid pink. Relative luminance 0.181; OKLCH L 58.8% C 0.168 H 335.9°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#B74EA2
RGBrgb(183, 78, 162)
HSLhsl(312, 42%, 51%)
HSVhsv(312, 57%, 72%)
CMYKcmyk(0%, 57.4%, 11.5%, 28.2%)
CIE-LABlab(49.65, 52.76, -25.31)
CIE-LCHlch(49.65, 58.52, 334.37°)
OKLaboklab(58.77% 0.1537 -0.0686)
OKLCHoklch(58.77% 0.168 335.9)
XYZxyz(28.7746, 18.1269, 36.1587)
Luminance0.1812 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B74EA2 #4EB763
analogous
#974EB7 #B74EA2 #B74E6D
triadic
#B74EA2 #A2B74E #4EA2B7
tetradic
#B74EA2 #B7974E #4EB763 #4E6DB7
square
#B74EA2 #B7974E #4EB763 #4E6DB7
split-complementary
#B74EA2 #6DB74E #4EB797
monochromatic
#632857 #8E3A7D #B74EA2 #C97AB9 #DAA5D0

Accessibility & contrast

On white

4.54
#B74EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#B74EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B74EA2
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B74EA2#FFFFFF#000000##000000
##B74EA21.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F6CA5
Deuteranopia (green-blind)
#6E7C9F
Tritanopia (blue-blind)
#C05371
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b74ea2;
/* rgb */ color: rgb(183, 78, 162);
/* oklch */ color: oklch(58.8% 0.168 335.9);
Tailwind
colors: {
  custom: {
    50: '#cf85bd',
    500: '#b74ea2',
    950: '#000000',
  },
}
SCSS
$custom: #b74ea2;
$custom-light: #cf85bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b74ea2",
  "rgb": {
    "r": 183,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 312,
    "s": 42.169,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58774,
    "c": 0.16828,
    "h": 335.9
  },
  "luminance": 0.18125
}

Semantic roles & 50–950 ramp

primary
#B74EA2
secondary
#99C8A2
accent
#D26F56
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #B74EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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