#BA438F#BA438F

#BA438F is a mid, vivid pink. Relative luminance 0.164; OKLCH L 57.1% C 0.174 H 344.7°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#BA438F
RGBrgb(186, 67, 143)
HSLhsl(322, 47%, 50%)
HSVhsv(322, 64%, 73%)
CMYKcmyk(0%, 64%, 23.1%, 27.1%)
CIE-LABlab(47.55, 55.65, -17.20)
CIE-LCHlch(47.55, 58.25, 342.83°)
OKLaboklab(57.06% 0.1674 -0.0457)
OKLCHoklch(57.06% 0.174 344.7)
XYZxyz(27.2157, 16.4392, 27.7210)
Luminance0.1644 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA438F #43BA6E
analogous
#AA43BA #BA438F #BA4353
triadic
#BA438F #8FBA43 #438FBA
tetradic
#BA438F #BAAA43 #43BA6E #4353BA
square
#BA438F #BAAA43 #43BA6E #4353BA
split-complementary
#BA438F #53BA43 #43BAAA
monochromatic
#60234A #8D336C #BA438F #CB6FAA #DB9CC4

Accessibility & contrast

On white

4.90
#BA438F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#BA438F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA438F
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA438F#FFFFFF#000000##FFFFFF
##BA438F1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6491
Deuteranopia (green-blind)
#71788C
Tritanopia (blue-blind)
#C64263
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba438f;
/* rgb */ color: rgb(186, 67, 143);
/* oklch */ color: oklch(57.1% 0.174 344.7);
Tailwind
colors: {
  custom: {
    50: '#d27fb0',
    500: '#ba438f',
    950: '#000000',
  },
}
SCSS
$custom: #ba438f;
$custom-light: #d27fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba438f",
  "rgb": {
    "r": 186,
    "g": 67,
    "b": 143
  },
  "hsl": {
    "h": 321.681,
    "s": 47.036,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57062,
    "c": 0.17357,
    "h": 344.7
  },
  "luminance": 0.16437
}

Semantic roles & 50–950 ramp

primary
#BA438F
secondary
#91C8A5
accent
#D78151
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150B10
muted
#837C7F

Preview Lab

Preview with #BA438F

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

Preview Lab → · Contrast checker → · Palette generator →

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