#BA2155#BA2155

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

Color values

HEX#BA2155
RGBrgb(186, 33, 85)
HSLhsl(340, 70%, 43%)
HSVhsv(340, 82%, 73%)
CMYKcmyk(0%, 82.3%, 54.3%, 27.1%)
CIE-LABlab(41.51, 61.12, 9.64)
CIE-LCHlch(41.51, 61.87, 8.96°)
OKLaboklab(52.01% 0.1863 0.0247)
OKLCHoklch(52.01% 0.188 7.5)
XYZxyz(22.4354, 12.1860, 9.7633)
Luminance0.1218 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2155 #21BA86
analogous
#BA21A1 #BA2155 #BA3A21
triadic
#BA2155 #55BA21 #2155BA
tetradic
#BA2155 #A1BA21 #21BA86 #3A21BA
square
#BA2155 #A1BA21 #21BA86 #3A21BA
split-complementary
#BA2155 #21BA3A #21A1BA
monochromatic
#520F25 #86183D #BA2155 #DC3C72 #E67098

Accessibility & contrast

On white

6.11
#BA2155 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#BA2155 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2155
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2155#FFFFFF#000000##FFFFFF
##BA21551.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4F56
Deuteranopia (green-blind)
#736D51
Tritanopia (blue-blind)
#CB0039
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ba2155;
/* rgb */ color: rgb(186, 33, 85);
/* oklch */ color: oklch(52.0% 0.188 7.5);
Tailwind
colors: {
  custom: {
    50: '#d66e84',
    500: '#ba2155',
    950: '#000000',
  },
}
SCSS
$custom: #ba2155;
$custom-light: #d66e84;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2155",
  "rgb": {
    "r": 186,
    "g": 33,
    "b": 85
  },
  "hsl": {
    "h": 339.608,
    "s": 69.863,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52012,
    "c": 0.18796,
    "h": 7.5
  },
  "luminance": 0.12183
}

Semantic roles & 50–950 ramp

primary
#BA2155
secondary
#6BCCAB
accent
#EDB03B
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16080A
muted
#847B7C

Preview Lab

Preview with #BA2155

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

Preview Lab → · Contrast checker → · Palette generator →

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