#BA2154#BA2154

#BA2154 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.0% C 0.188 H 8.0°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#BA2154
RGBrgb(186, 33, 84)
HSLhsl(340, 70%, 43%)
HSVhsv(340, 82%, 73%)
CMYKcmyk(0%, 82.3%, 54.8%, 27.1%)
CIE-LABlab(41.49, 61.04, 10.23)
CIE-LCHlch(41.49, 61.90, 9.52°)
OKLaboklab(51.99% 0.186 0.0261)
OKLCHoklch(51.99% 0.188 8)
XYZxyz(22.3960, 12.1702, 9.5556)
Luminance0.1217 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2154 #21BA87
analogous
#BA21A0 #BA2154 #BA3A21
triadic
#BA2154 #54BA21 #2154BA
tetradic
#BA2154 #A0BA21 #21BA87 #3A21BA
square
#BA2154 #A0BA21 #21BA87 #3A21BA
split-complementary
#BA2154 #21BA3A #21A0BA
monochromatic
#520F25 #86183D #BA2154 #DC3C71 #E67097

Accessibility & contrast

On white

6.12
#BA2154 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#BA2154 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2154
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2154#FFFFFF#000000##FFFFFF
##BA21541.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4E55
Deuteranopia (green-blind)
#746D50
Tritanopia (blue-blind)
#CB0038
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ba2154;
/* rgb */ color: rgb(186, 33, 84);
/* oklch */ color: oklch(52.0% 0.188 8.0);
Tailwind
colors: {
  custom: {
    50: '#d66e83',
    500: '#ba2154',
    950: '#000000',
  },
}
SCSS
$custom: #ba2154;
$custom-light: #d66e83;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2154",
  "rgb": {
    "r": 186,
    "g": 33,
    "b": 84
  },
  "hsl": {
    "h": 340,
    "s": 69.863,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51986,
    "c": 0.18778,
    "h": 8
  },
  "luminance": 0.12167
}

Semantic roles & 50–950 ramp

primary
#BA2154
secondary
#6BCCAC
accent
#EDB13B
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16080A
muted
#847B7C

Preview Lab

Preview with #BA2154

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

Preview Lab → · Contrast checker → · Palette generator →

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