#BA4697#BA4697

#BA4697 is a mid, vivid pink. Relative luminance 0.171; OKLCH L 57.7% C 0.174 H 341.4°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#BA4697
RGBrgb(186, 70, 151)
HSLhsl(318, 46%, 50%)
HSVhsv(318, 62%, 73%)
CMYKcmyk(0%, 62.4%, 18.8%, 27.1%)
CIE-LABlab(48.33, 55.51, -20.78)
CIE-LCHlch(48.33, 59.27, 339.48°)
OKLaboklab(57.74% 0.1653 -0.0557)
OKLCHoklch(57.74% 0.174 341.4)
XYZxyz(28.0265, 17.0563, 31.0883)
Luminance0.1705 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4697 #46BA69
analogous
#A346BA #BA4697 #BA465D
triadic
#BA4697 #97BA46 #4697BA
tetradic
#BA4697 #BAA346 #46BA69 #465DBA
square
#BA4697 #BAA346 #46BA69 #465DBA
split-complementary
#BA4697 #5DBA46 #46BAA3
monochromatic
#61244F #8E3573 #BA4697 #CB73B0 #DB9FC9

Accessibility & contrast

On white

4.76
#BA4697 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#BA4697 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4697
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4697#FFFFFF#000000##FFFFFF
##BA46971.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6799
Deuteranopia (green-blind)
#707A94
Tritanopia (blue-blind)
#C54868
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba4697;
/* rgb */ color: rgb(186, 70, 151);
/* oklch */ color: oklch(57.7% 0.174 341.4);
Tailwind
colors: {
  custom: {
    50: '#d280b5',
    500: '#ba4697',
    950: '#000000',
  },
}
SCSS
$custom: #ba4697;
$custom-light: #d280b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4697",
  "rgb": {
    "r": 186,
    "g": 70,
    "b": 151
  },
  "hsl": {
    "h": 318.103,
    "s": 45.669,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57744,
    "c": 0.17448,
    "h": 341.4
  },
  "luminance": 0.17054
}

Semantic roles & 50–950 ramp

primary
#BA4697
secondary
#94C8A4
accent
#D57A52
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #BA4697

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

Preview Lab → · Contrast checker → · Palette generator →

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