#BA448E#BA448E

#BA448E is a mid, vivid pink. Relative luminance 0.165; OKLCH L 57.1% C 0.172 H 345.3°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#BA448E
RGBrgb(186, 68, 142)
HSLhsl(322, 46%, 50%)
HSVhsv(322, 63%, 73%)
CMYKcmyk(0%, 63.4%, 23.7%, 27.1%)
CIE-LABlab(47.66, 55.09, -16.42)
CIE-LCHlch(47.66, 57.49, 343.40°)
OKLaboklab(57.14% 0.1659 -0.0435)
OKLCHoklch(57.14% 0.172 345.3)
XYZxyz(27.2002, 16.5290, 27.3438)
Luminance0.1653 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA448E #44BA70
analogous
#AB44BA #BA448E #BA4453
triadic
#BA448E #8EBA44 #448EBA
tetradic
#BA448E #BAAB44 #44BA70 #4453BA
square
#BA448E #BAAB44 #44BA70 #4453BA
split-complementary
#BA448E #53BA44 #44BAAB
monochromatic
#60234A #8D346C #BA448E #CB70A9 #DB9DC4

Accessibility & contrast

On white

4.88
#BA448E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#BA448E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA448E
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA448E#FFFFFF#000000##FFFFFF
##BA448E1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506490
Deuteranopia (green-blind)
#72788B
Tritanopia (blue-blind)
#C64263
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba448e;
/* rgb */ color: rgb(186, 68, 142);
/* oklch */ color: oklch(57.1% 0.172 345.3);
Tailwind
colors: {
  custom: {
    50: '#d27faf',
    500: '#ba448e',
    950: '#000000',
  },
}
SCSS
$custom: #ba448e;
$custom-light: #d27faf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba448e",
  "rgb": {
    "r": 186,
    "g": 68,
    "b": 142
  },
  "hsl": {
    "h": 322.373,
    "s": 46.457,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57135,
    "c": 0.17154,
    "h": 345.3
  },
  "luminance": 0.16526
}

Semantic roles & 50–950 ramp

primary
#BA448E
secondary
#92C8A6
accent
#D68352
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150B10
muted
#837C7F

Preview Lab

Preview with #BA448E

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

Preview Lab → · Contrast checker → · Palette generator →

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