#BA427D#BA427D

#BA427D is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.3% C 0.165 H 353.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#BA427D
RGBrgb(186, 66, 125)
HSLhsl(331, 48%, 49%)
HSVhsv(331, 65%, 73%)
CMYKcmyk(0%, 64.5%, 32.8%, 27.1%)
CIE-LABlab(46.74, 53.75, -7.55)
CIE-LCHlch(46.74, 54.28, 352.01°)
OKLaboklab(56.25% 0.164 -0.0193)
OKLCHoklch(56.25% 0.165 353.3)
XYZxyz(25.9009, 15.8190, 21.0874)
Luminance0.1582 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA427D #42BA7F
analogous
#BA42B9 #BA427D #BA4342
triadic
#BA427D #7DBA42 #427DBA
tetradic
#BA427D #B9BA42 #42BA7F #4342BA
square
#BA427D #B9BA42 #42BA7F #4342BA
split-complementary
#BA427D #42BA43 #42B9BA
monochromatic
#602240 #8D325F #BA427D #CB6E9C #DB9BBB

Accessibility & contrast

On white

5.04
#BA427D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#BA427D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA427D
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA427D#FFFFFF#000000##FFFFFF
##BA427D1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55617F
Deuteranopia (green-blind)
#76777A
Tritanopia (blue-blind)
#C83A5A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba427d;
/* rgb */ color: rgb(186, 66, 125);
/* oklch */ color: oklch(56.3% 0.165 353.3);
Tailwind
colors: {
  custom: {
    50: '#d37ea2',
    500: '#ba427d',
    950: '#000000',
  },
}
SCSS
$custom: #ba427d;
$custom-light: #d37ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba427d",
  "rgb": {
    "r": 186,
    "g": 66,
    "b": 125
  },
  "hsl": {
    "h": 330.5,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56251,
    "c": 0.16508,
    "h": 353.3
  },
  "luminance": 0.15816
}

Semantic roles & 50–950 ramp

primary
#BA427D
secondary
#90C8AC
accent
#D79551
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150A0F
muted
#837C7E

Preview Lab

Preview with #BA427D

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

Preview Lab → · Contrast checker → · Palette generator →

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