#BA5876#BA5876

#BA5876 is a mid, vivid pink. Relative luminance 0.187; OKLCH L 58.9% C 0.130 H 2.6°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#BA5876
RGBrgb(186, 88, 118)
HSLhsl(342, 42%, 54%)
HSVhsv(342, 53%, 73%)
CMYKcmyk(0%, 52.7%, 36.6%, 27.1%)
CIE-LABlab(50.37, 42.66, 2.03)
CIE-LCHlch(50.37, 42.70, 2.72°)
OKLaboklab(58.89% 0.1297 0.0058)
OKLCHoklch(58.89% 0.13 2.6)
XYZxyz(27.0108, 18.7292, 19.3286)
Luminance0.1873 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5876 #58BA9C
analogous
#BA58A7 #BA5876 #BA6B58
triadic
#BA5876 #76BA58 #5876BA
tetradic
#BA5876 #A7BA58 #58BA9C #6B58BA
square
#BA5876 #A7BA58 #58BA9C #6B58BA
split-complementary
#BA5876 #58BA6B #58A7BA
monochromatic
#6B2C40 #973E59 #BA5876 #CC839A #DEAFBD

Accessibility & contrast

On white

4.43
#BA5876 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#BA5876 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5876
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5876#FFFFFF#000000##000000
##BA58761.004.434.754.75
#FFFFFF4.431.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#696C77
Deuteranopia (green-blind)
#827F74
Tritanopia (blue-blind)
#C84F63
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ba5876;
/* rgb */ color: rgb(186, 88, 118);
/* oklch */ color: oklch(58.9% 0.130 2.6);
Tailwind
colors: {
  custom: {
    50: '#d28a9d',
    500: '#ba5876',
    950: '#000000',
  },
}
SCSS
$custom: #ba5876;
$custom-light: #d28a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5876",
  "rgb": {
    "r": 186,
    "g": 88,
    "b": 118
  },
  "hsl": {
    "h": 341.633,
    "s": 41.525,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58889,
    "c": 0.12987,
    "h": 2.6
  },
  "luminance": 0.18727
}

Semantic roles & 50–950 ramp

primary
#BA5876
secondary
#A2CCBF
accent
#D1AC56
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#140C0E
muted
#837D7E

Preview Lab

Preview with #BA5876

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

Preview Lab → · Contrast checker → · Palette generator →

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