#BA4291#BA4291

#BA4291 is a mid, vivid pink. Relative luminance 0.164; OKLCH L 57.0% C 0.176 H 343.7°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#BA4291
RGBrgb(186, 66, 145)
HSLhsl(321, 48%, 49%)
HSVhsv(321, 65%, 73%)
CMYKcmyk(0%, 64.5%, 22%, 27.1%)
CIE-LABlab(47.47, 56.35, -18.51)
CIE-LCHlch(47.47, 59.31, 341.81°)
OKLaboklab(57.03% 0.1692 -0.0493)
OKLCHoklch(57.03% 0.176 343.7)
XYZxyz(27.3096, 16.3825, 28.5064)
Luminance0.1638 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4291 #42BA6B
analogous
#A742BA #BA4291 #BA4255
triadic
#BA4291 #91BA42 #4291BA
tetradic
#BA4291 #BAA742 #42BA6B #4255BA
square
#BA4291 #BAA742 #42BA6B #4255BA
split-complementary
#BA4291 #55BA42 #42BAA7
monochromatic
#60224B #8D326E #BA4291 #CB6EAB #DB9BC5

Accessibility & contrast

On white

4.91
#BA4291 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#BA4291 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4291
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4291#FFFFFF#000000##FFFFFF
##BA42911.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6493
Deuteranopia (green-blind)
#70788E
Tritanopia (blue-blind)
#C64263
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba4291;
/* rgb */ color: rgb(186, 66, 145);
/* oklch */ color: oklch(57.0% 0.176 343.7);
Tailwind
colors: {
  custom: {
    50: '#d27eb1',
    500: '#ba4291',
    950: '#000000',
  },
}
SCSS
$custom: #ba4291;
$custom-light: #d27eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4291",
  "rgb": {
    "r": 186,
    "g": 66,
    "b": 145
  },
  "hsl": {
    "h": 320.5,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57034,
    "c": 0.17622,
    "h": 343.7
  },
  "luminance": 0.1638
}

Semantic roles & 50–950 ramp

primary
#BA4291
secondary
#90C8A3
accent
#D77F51
background
#FDF8FA
surface
#FAEFF5
border
#D3CACF
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA4291

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

Preview Lab → · Contrast checker → · Palette generator →

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