#BA4297#BA4297

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

Color values

HEX#BA4297
RGBrgb(186, 66, 151)
HSLhsl(318, 48%, 49%)
HSVhsv(318, 65%, 73%)
CMYKcmyk(0%, 64.5%, 18.8%, 27.1%)
CIE-LABlab(47.72, 57.20, -21.73)
CIE-LCHlch(47.72, 61.18, 339.20°)
OKLaboklab(57.29% 0.1704 -0.0583)
OKLCHoklch(57.29% 0.18 341.1)
XYZxyz(27.7845, 16.5724, 31.0077)
Luminance0.1657 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4297 #42BA65
analogous
#A142BA #BA4297 #BA425B
triadic
#BA4297 #97BA42 #4297BA
tetradic
#BA4297 #BAA142 #42BA65 #425BBA
square
#BA4297 #BAA142 #42BA65 #425BBA
split-complementary
#BA4297 #5BBA42 #42BAA1
monochromatic
#60224E #8D3272 #BA4297 #CB6EB0 #DB9BC9

Accessibility & contrast

On white

4.87
#BA4297 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA4297
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4297#FFFFFF#000000##FFFFFF
##BA42971.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A659A
Deuteranopia (green-blind)
#6E7894
Tritanopia (blue-blind)
#C54466
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba4297;
/* rgb */ color: rgb(186, 66, 151);
/* oklch */ color: oklch(57.3% 0.180 341.1);
Tailwind
colors: {
  custom: {
    50: '#d27eb5',
    500: '#ba4297',
    950: '#000000',
  },
}
SCSS
$custom: #ba4297;
$custom-light: #d27eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4297",
  "rgb": {
    "r": 186,
    "g": 66,
    "b": 151
  },
  "hsl": {
    "h": 317.5,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57294,
    "c": 0.18014,
    "h": 341.1
  },
  "luminance": 0.1657
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA4297

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

Preview Lab → · Contrast checker → · Palette generator →

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