#B7427F#B7427F

#B7427F is a mid, vivid pink. Relative luminance 0.155; OKLCH L 55.9% C 0.163 H 351.4°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#B7427F
RGBrgb(183, 66, 127)
HSLhsl(329, 47%, 49%)
HSVhsv(329, 64%, 72%)
CMYKcmyk(0%, 63.9%, 30.6%, 28.2%)
CIE-LABlab(46.31, 53.10, -9.45)
CIE-LCHlch(46.31, 53.93, 349.91°)
OKLaboklab(55.86% 0.1616 -0.0245)
OKLCHoklch(55.86% 0.163 351.4)
XYZxyz(25.3086, 15.4987, 21.7333)
Luminance0.1550 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7427F #42B77A
analogous
#B542B7 #B7427F #B74245
triadic
#B7427F #7FB742 #427FB7
tetradic
#B7427F #B7B542 #42B77A #4245B7
square
#B7427F #B7B542 #42B77A #4245B7
split-complementary
#B7427F #45B742 #42B7B5
monochromatic
#5D2241 #8A3260 #B7427F #CA6C9D #DA99BB

Accessibility & contrast

On white

5.12
#B7427F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#B7427F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B7427F
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7427F#FFFFFF#000000##FFFFFF
##B7427F1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536081
Deuteranopia (green-blind)
#73757C
Tritanopia (blue-blind)
#C43C5B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b7427f;
/* rgb */ color: rgb(183, 66, 127);
/* oklch */ color: oklch(55.9% 0.163 351.4);
Tailwind
colors: {
  custom: {
    50: '#d07da4',
    500: '#b7427f',
    950: '#000000',
  },
}
SCSS
$custom: #b7427f;
$custom-light: #d07da4;
$custom-dark: #000000;
JSON
{
  "hex": "#b7427f",
  "rgb": {
    "r": 183,
    "g": 66,
    "b": 127
  },
  "hsl": {
    "h": 328.718,
    "s": 46.988,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55863,
    "c": 0.16343,
    "h": 351.4
  },
  "luminance": 0.15496
}

Semantic roles & 50–950 ramp

primary
#B7427F
secondary
#8FC6A9
accent
#D79151
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A0F
muted
#837C7F

Preview Lab

Preview with #B7427F

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

Preview Lab → · Contrast checker → · Palette generator →

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