#BA5181#BA5181

#BA5181 is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.3% C 0.145 H 353.9°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#BA5181
RGBrgb(186, 81, 129)
HSLhsl(333, 43%, 52%)
HSVhsv(333, 56%, 73%)
CMYKcmyk(0%, 56.5%, 30.6%, 27.1%)
CIE-LABlab(49.39, 47.47, -6.01)
CIE-LCHlch(49.39, 47.85, 352.78°)
OKLaboklab(58.26% 0.1442 -0.0153)
OKLCHoklch(58.26% 0.145 353.9)
XYZxyz(27.1558, 17.9116, 22.7917)
Luminance0.1791 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5181 #51BA8A
analogous
#BA51B6 #BA5181 #BA5551
triadic
#BA5181 #81BA51 #5181BA
tetradic
#BA5181 #B6BA51 #51BA8A #5551BA
square
#BA5181 #B6BA51 #51BA8A #5551BA
split-complementary
#BA5181 #51BA55 #51B6BA
monochromatic
#682946 #933A63 #BA5181 #CB7DA1 #DDA9C0

Accessibility & contrast

On white

4.58
#BA5181 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#BA5181 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5181
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5181#FFFFFF#000000##000000
##BA51811.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#606A82
Deuteranopia (green-blind)
#7C7C7E
Tritanopia (blue-blind)
#C74B63
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba5181;
/* rgb */ color: rgb(186, 81, 129);
/* oklch */ color: oklch(58.3% 0.145 353.9);
Tailwind
colors: {
  custom: {
    50: '#d286a5',
    500: '#ba5181',
    950: '#000000',
  },
}
SCSS
$custom: #ba5181;
$custom-light: #d286a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5181",
  "rgb": {
    "r": 186,
    "g": 81,
    "b": 129
  },
  "hsl": {
    "h": 332.571,
    "s": 43.21,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58264,
    "c": 0.14496,
    "h": 353.9
  },
  "luminance": 0.17909
}

Semantic roles & 50–950 ramp

primary
#BA5181
secondary
#9DCAB5
accent
#D39955
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140B0F
muted
#837C7F

Preview Lab

Preview with #BA5181

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

Preview Lab → · Contrast checker → · Palette generator →

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