#BA5071#BA5071

#BA5071 is a mid, vivid pink. Relative luminance 0.174; OKLCH L 57.6% C 0.140 H 3.0°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#BA5071
RGBrgb(186, 80, 113)
HSLhsl(341, 43%, 52%)
HSVhsv(341, 57%, 73%)
CMYKcmyk(0%, 57%, 39.2%, 27.1%)
CIE-LABlab(48.72, 46.01, 2.65)
CIE-LCHlch(48.72, 46.08, 3.30°)
OKLaboklab(57.61% 0.1402 0.0074)
OKLCHoklch(57.61% 0.14 3)
XYZxyz(26.1005, 17.3715, 17.5981)
Luminance0.1737 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5071 #50BA99
analogous
#BA50A6 #BA5071 #BA6450
triadic
#BA5071 #71BA50 #5071BA
tetradic
#BA5071 #A6BA50 #50BA99 #6450BA
square
#BA5071 #A6BA50 #50BA99 #6450BA
split-complementary
#BA5071 #50BA64 #50A6BA
monochromatic
#67293C #933A56 #BA5071 #CB7C95 #DDA8B8

Accessibility & contrast

On white

4.69
#BA5071 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#BA5071 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA5071
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5071#FFFFFF#000000##FFFFFF
##BA50711.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#636772
Deuteranopia (green-blind)
#7F7B6F
Tritanopia (blue-blind)
#C8465C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba5071;
/* rgb */ color: rgb(186, 80, 113);
/* oklch */ color: oklch(57.6% 0.140 3.0);
Tailwind
colors: {
  custom: {
    50: '#d28599',
    500: '#ba5071',
    950: '#000000',
  },
}
SCSS
$custom: #ba5071;
$custom-light: #d28599;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5071",
  "rgb": {
    "r": 186,
    "g": 80,
    "b": 113
  },
  "hsl": {
    "h": 341.321,
    "s": 43.443,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57609,
    "c": 0.14036,
    "h": 3
  },
  "luminance": 0.17369
}

Semantic roles & 50–950 ramp

primary
#BA5071
secondary
#9CCABC
accent
#D3AC55
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #BA5071

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

Preview Lab → · Contrast checker → · Palette generator →

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