#BA4298#BA4298

#BA4298 is a mid, vivid pink. Relative luminance 0.166; OKLCH L 57.3% C 0.181 H 340.7°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#BA4298
RGBrgb(186, 66, 152)
HSLhsl(317, 48%, 49%)
HSVhsv(317, 65%, 73%)
CMYKcmyk(0%, 64.5%, 18.3%, 27.1%)
CIE-LABlab(47.76, 57.34, -22.26)
CIE-LCHlch(47.76, 61.51, 338.78°)
OKLaboklab(57.34% 0.1706 -0.0598)
OKLCHoklch(57.34% 0.181 340.7)
XYZxyz(27.8661, 16.6051, 31.4372)
Luminance0.1660 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4298 #42BA64
analogous
#A042BA #BA4298 #BA425C
triadic
#BA4298 #98BA42 #4298BA
tetradic
#BA4298 #BAA042 #42BA64 #425CBA
square
#BA4298 #BAA042 #42BA64 #425CBA
split-complementary
#BA4298 #5CBA42 #42BAA0
monochromatic
#60224E #8D3273 #BA4298 #CB6EB1 #DB9BC9

Accessibility & contrast

On white

4.86
#BA4298 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#BA4298 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4298
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4298#FFFFFF#000000##FFFFFF
##BA42981.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A659B
Deuteranopia (green-blind)
#6E7895
Tritanopia (blue-blind)
#C54467
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba4298;
/* rgb */ color: rgb(186, 66, 152);
/* oklch */ color: oklch(57.3% 0.181 340.7);
Tailwind
colors: {
  custom: {
    50: '#d27eb6',
    500: '#ba4298',
    950: '#000000',
  },
}
SCSS
$custom: #ba4298;
$custom-light: #d27eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4298",
  "rgb": {
    "r": 186,
    "g": 66,
    "b": 152
  },
  "hsl": {
    "h": 317,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57338,
    "c": 0.18081,
    "h": 340.7
  },
  "luminance": 0.16603
}

Semantic roles & 50–950 ramp

primary
#BA4298
secondary
#90C8A0
accent
#D77751
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #BA4298

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

Preview Lab → · Contrast checker → · Palette generator →

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