#B7478D#B7478D

#B7478D is a mid, vivid pink. Relative luminance 0.165; OKLCH L 57.0% C 0.164 H 345.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#B7478D
RGBrgb(183, 71, 141)
HSLhsl(323, 44%, 50%)
HSVhsv(323, 61%, 72%)
CMYKcmyk(0%, 61.2%, 23%, 28.2%)
CIE-LABlab(47.62, 52.78, -15.92)
CIE-LCHlch(47.62, 55.13, 343.21°)
OKLaboklab(57% 0.1586 -0.0422)
OKLCHoklch(57% 0.164 345.1)
XYZxyz(26.5903, 16.4993, 26.9784)
Luminance0.1650 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7478D #47B771
analogous
#A947B7 #B7478D #B74755
triadic
#B7478D #8DB747 #478DB7
tetradic
#B7478D #B7A947 #47B771 #4755B7
square
#B7478D #B7A947 #47B771 #4755B7
split-complementary
#B7478D #55B747 #47B7A9
monochromatic
#5F2549 #8B366B #B7478D #C973A8 #DA9FC4

Accessibility & contrast

On white

4.88
#B7478D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#B7478D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B7478D
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7478D#FFFFFF#000000##FFFFFF
##B7478D1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52658F
Deuteranopia (green-blind)
#72788A
Tritanopia (blue-blind)
#C24664
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b7478d;
/* rgb */ color: rgb(183, 71, 141);
/* oklch */ color: oklch(57.0% 0.164 345.1);
Tailwind
colors: {
  custom: {
    50: '#d080ae',
    500: '#b7478d',
    950: '#000000',
  },
}
SCSS
$custom: #b7478d;
$custom-light: #d080ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b7478d",
  "rgb": {
    "r": 183,
    "g": 71,
    "b": 141
  },
  "hsl": {
    "h": 322.5,
    "s": 44.094,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57001,
    "c": 0.16415,
    "h": 345.1
  },
  "luminance": 0.16497
}

Semantic roles & 50–950 ramp

primary
#B7478D
secondary
#94C6A7
accent
#D48454
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B10
muted
#837C7F

Preview Lab

Preview with #B7478D

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

Preview Lab → · Contrast checker → · Palette generator →

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