#BA4875#BA4875

#BA4875 is a mid, vivid pink. Relative luminance 0.164; OKLCH L 56.7% C 0.153 H 358.6°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#BA4875
RGBrgb(186, 72, 117)
HSLhsl(336, 45%, 51%)
HSVhsv(336, 61%, 73%)
CMYKcmyk(0%, 61.3%, 37.1%, 27.1%)
CIE-LABlab(47.44, 50.19, -1.64)
CIE-LCHlch(47.44, 50.21, 358.13°)
OKLaboklab(56.69% 0.1532 -0.0037)
OKLCHoklch(56.69% 0.153 358.6)
XYZxyz(25.7795, 16.3610, 18.6265)
Luminance0.1636 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4875 #48BA8D
analogous
#BA48AE #BA4875 #BA5448
triadic
#BA4875 #75BA48 #4875BA
tetradic
#BA4875 #AEBA48 #48BA8D #5448BA
square
#BA4875 #AEBA48 #48BA8D #5448BA
split-complementary
#BA4875 #48BA54 #48AEBA
monochromatic
#62253D #8F3659 #BA4875 #CB7497 #DCA1B8

Accessibility & contrast

On white

4.92
#BA4875 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#BA4875 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4875
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4875#FFFFFF#000000##FFFFFF
##BA48751.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6376
Deuteranopia (green-blind)
#7A7972
Tritanopia (blue-blind)
#C83E5A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba4875;
/* rgb */ color: rgb(186, 72, 117);
/* oklch */ color: oklch(56.7% 0.153 358.6);
Tailwind
colors: {
  custom: {
    50: '#d3819c',
    500: '#ba4875',
    950: '#000000',
  },
}
SCSS
$custom: #ba4875;
$custom-light: #d3819c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4875",
  "rgb": {
    "r": 186,
    "g": 72,
    "b": 117
  },
  "hsl": {
    "h": 336.316,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56692,
    "c": 0.15325,
    "h": 358.6
  },
  "luminance": 0.16358
}

Semantic roles & 50–950 ramp

primary
#BA4875
secondary
#96C8B4
accent
#D5A253
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #BA4875

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

Preview Lab → · Contrast checker → · Palette generator →

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