#BA3154#BA3154

#BA3154 is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.2% C 0.173 H 10.6°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#BA3154
RGBrgb(186, 49, 84)
HSLhsl(345, 58%, 46%)
HSVhsv(345, 74%, 73%)
CMYKcmyk(0%, 73.7%, 54.8%, 27.1%)
CIE-LABlab(43.18, 56.26, 12.59)
CIE-LCHlch(43.18, 57.66, 12.61°)
OKLaboklab(53.24% 0.1705 0.0318)
OKLCHoklch(53.24% 0.173 10.6)
XYZxyz(22.9504, 13.2790, 9.7404)
Luminance0.1328 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3154 #31BA97
analogous
#BA3198 #BA3154 #BA5331
triadic
#BA3154 #54BA31 #3154BA
tetradic
#BA3154 #98BA31 #31BA97 #5331BA
square
#BA3154 #98BA31 #31BA97 #5331BA
split-complementary
#BA3154 #31BA53 #3198BA
monochromatic
#591728 #8A243E #BA3154 #D25676 #DF869D

Accessibility & contrast

On white

5.75
#BA3154 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#BA3154 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3154
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3154#FFFFFF#000000##FFFFFF
##BA31541.005.753.665.75
#FFFFFF5.751.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545455
Deuteranopia (green-blind)
#787051
Tritanopia (blue-blind)
#CB0A40
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba3154;
/* rgb */ color: rgb(186, 49, 84);
/* oklch */ color: oklch(53.2% 0.173 10.6);
Tailwind
colors: {
  custom: {
    50: '#d57483',
    500: '#ba3154',
    950: '#000000',
  },
}
SCSS
$custom: #ba3154;
$custom-light: #d57483;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3154",
  "rgb": {
    "r": 186,
    "g": 49,
    "b": 84
  },
  "hsl": {
    "h": 344.672,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53236,
    "c": 0.17347,
    "h": 10.6
  },
  "luminance": 0.13276
}

Semantic roles & 50–950 ramp

primary
#BA3154
secondary
#7EC9B6
accent
#E2BA46
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090A
muted
#837B7C

Preview Lab

Preview with #BA3154

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

Preview Lab → · Contrast checker → · Palette generator →

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