#BA438A#BA438A

#BA438A is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.9% C 0.171 H 347.1°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#BA438A
RGBrgb(186, 67, 138)
HSLhsl(324, 47%, 50%)
HSVhsv(324, 64%, 73%)
CMYKcmyk(0%, 64%, 25.8%, 27.1%)
CIE-LABlab(47.35, 54.98, -14.48)
CIE-LCHlch(47.35, 56.85, 345.24°)
OKLaboklab(56.86% 0.1662 -0.0382)
OKLCHoklch(56.86% 0.171 347.1)
XYZxyz(26.8453, 16.2911, 25.7705)
Luminance0.1629 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA438A #43BA73
analogous
#AF43BA #BA438A #BA434E
triadic
#BA438A #8ABA43 #438ABA
tetradic
#BA438A #BAAF43 #43BA73 #434EBA
square
#BA438A #BAAF43 #43BA73 #434EBA
split-complementary
#BA438A #4EBA43 #43BAAF
monochromatic
#602347 #8D3369 #BA438A #CB6FA6 #DB9CC2

Accessibility & contrast

On white

4.93
#BA438A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#BA438A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA438A
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA438A#FFFFFF#000000##FFFFFF
##BA438A1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51638C
Deuteranopia (green-blind)
#737887
Tritanopia (blue-blind)
#C64061
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba438a;
/* rgb */ color: rgb(186, 67, 138);
/* oklch */ color: oklch(56.9% 0.171 347.1);
Tailwind
colors: {
  custom: {
    50: '#d27fac',
    500: '#ba438a',
    950: '#000000',
  },
}
SCSS
$custom: #ba438a;
$custom-light: #d27fac;
$custom-dark: #000000;
JSON
{
  "hex": "#ba438a",
  "rgb": {
    "r": 186,
    "g": 67,
    "b": 138
  },
  "hsl": {
    "h": 324.202,
    "s": 47.036,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56859,
    "c": 0.17056,
    "h": 347.1
  },
  "luminance": 0.16288
}

Semantic roles & 50–950 ramp

primary
#BA438A
secondary
#91C8A7
accent
#D78751
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA438A

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

Preview Lab → · Contrast checker → · Palette generator →

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