#BA438B#BA438B

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

Color values

HEX#BA438B
RGBrgb(186, 67, 139)
HSLhsl(324, 47%, 50%)
HSVhsv(324, 64%, 73%)
CMYKcmyk(0%, 64%, 25.3%, 27.1%)
CIE-LABlab(47.39, 55.11, -15.03)
CIE-LCHlch(47.39, 57.12, 344.75°)
OKLaboklab(56.9% 0.1665 -0.0397)
OKLCHoklch(56.9% 0.171 346.6)
XYZxyz(26.9181, 16.3202, 26.1536)
Luminance0.1632 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA438B #43BA72
analogous
#AE43BA #BA438B #BA4350
triadic
#BA438B #8BBA43 #438BBA
tetradic
#BA438B #BAAE43 #43BA72 #4350BA
square
#BA438B #BAAE43 #43BA72 #4350BA
split-complementary
#BA438B #50BA43 #43BAAE
monochromatic
#602348 #8D3369 #BA438B #CB6FA7 #DB9CC2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA438B#FFFFFF#000000##FFFFFF
##BA438B1.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)
#50638D
Deuteranopia (green-blind)
#727888
Tritanopia (blue-blind)
#C64061
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba438b;
/* rgb */ color: rgb(186, 67, 139);
/* oklch */ color: oklch(56.9% 0.171 346.6);
Tailwind
colors: {
  custom: {
    50: '#d27fad',
    500: '#ba438b',
    950: '#000000',
  },
}
SCSS
$custom: #ba438b;
$custom-light: #d27fad;
$custom-dark: #000000;
JSON
{
  "hex": "#ba438b",
  "rgb": {
    "r": 186,
    "g": 67,
    "b": 139
  },
  "hsl": {
    "h": 323.697,
    "s": 47.036,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56899,
    "c": 0.17114,
    "h": 346.6
  },
  "luminance": 0.16317
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA438B

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

Preview Lab → · Contrast checker → · Palette generator →

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