#BA438C#BA438C

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

Color values

HEX#BA438C
RGBrgb(186, 67, 140)
HSLhsl(323, 47%, 50%)
HSVhsv(323, 64%, 73%)
CMYKcmyk(0%, 64%, 24.7%, 27.1%)
CIE-LABlab(47.43, 55.25, -15.57)
CIE-LCHlch(47.43, 57.40, 344.26°)
OKLaboklab(56.94% 0.1667 -0.0412)
OKLCHoklch(56.94% 0.172 346.1)
XYZxyz(26.9915, 16.3495, 26.5401)
Luminance0.1635 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA438C #43BA71
analogous
#AD43BA #BA438C #BA4351
triadic
#BA438C #8CBA43 #438CBA
tetradic
#BA438C #BAAD43 #43BA71 #4351BA
square
#BA438C #BAAD43 #43BA71 #4351BA
split-complementary
#BA438C #51BA43 #43BAAD
monochromatic
#602348 #8D336A #BA438C #CB6FA8 #DB9CC3

Accessibility & contrast

On white

4.92
#BA438C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#BA438C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA438C
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA438C#FFFFFF#000000##FFFFFF
##BA438C1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50648E
Deuteranopia (green-blind)
#727889
Tritanopia (blue-blind)
#C64161
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba438c;
/* rgb */ color: rgb(186, 67, 140);
/* oklch */ color: oklch(56.9% 0.172 346.1);
Tailwind
colors: {
  custom: {
    50: '#d27fad',
    500: '#ba438c',
    950: '#000000',
  },
}
SCSS
$custom: #ba438c;
$custom-light: #d27fad;
$custom-dark: #000000;
JSON
{
  "hex": "#ba438c",
  "rgb": {
    "r": 186,
    "g": 67,
    "b": 140
  },
  "hsl": {
    "h": 323.193,
    "s": 47.036,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56939,
    "c": 0.17174,
    "h": 346.1
  },
  "luminance": 0.16347
}

Semantic roles & 50–950 ramp

primary
#BA438C
secondary
#91C8A6
accent
#D78551
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150B10
muted
#837C7F

Preview Lab

Preview with #BA438C

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

Preview Lab → · Contrast checker → · Palette generator →

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