#BA427B#BA427B

#BA427B is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.2% C 0.164 H 354.3°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#BA427B
RGBrgb(186, 66, 123)
HSLhsl(332, 48%, 49%)
HSVhsv(332, 65%, 73%)
CMYKcmyk(0%, 64.5%, 33.9%, 27.1%)
CIE-LABlab(46.67, 53.51, -6.43)
CIE-LCHlch(46.67, 53.89, 353.15°)
OKLaboklab(56.18% 0.1634 -0.0163)
OKLCHoklch(56.18% 0.164 354.3)
XYZxyz(25.7745, 15.7684, 20.4213)
Luminance0.1577 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA427B #42BA81
analogous
#BA42B7 #BA427B #BA4542
triadic
#BA427B #7BBA42 #427BBA
tetradic
#BA427B #B7BA42 #42BA81 #4542BA
square
#BA427B #B7BA42 #42BA81 #4542BA
split-complementary
#BA427B #42BA45 #42B7BA
monochromatic
#60223F #8D325D #BA427B #CB6E9A #DB9BBA

Accessibility & contrast

On white

5.06
#BA427B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#BA427B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA427B
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA427B#FFFFFF#000000##FFFFFF
##BA427B1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55617D
Deuteranopia (green-blind)
#767778
Tritanopia (blue-blind)
#C83959
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba427b;
/* rgb */ color: rgb(186, 66, 123);
/* oklch */ color: oklch(56.2% 0.164 354.3);
Tailwind
colors: {
  custom: {
    50: '#d37ea1',
    500: '#ba427b',
    950: '#000000',
  },
}
SCSS
$custom: #ba427b;
$custom-light: #d37ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba427b",
  "rgb": {
    "r": 186,
    "g": 66,
    "b": 123
  },
  "hsl": {
    "h": 331.5,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56179,
    "c": 0.16416,
    "h": 354.3
  },
  "luminance": 0.15766
}

Semantic roles & 50–950 ramp

primary
#BA427B
secondary
#90C8AD
accent
#D79751
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA427B

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

Preview Lab → · Contrast checker → · Palette generator →

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