#BA2E6B#BA2E6B

#BA2E6B is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.6% C 0.182 H 359.1°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#BA2E6B
RGBrgb(186, 46, 107)
HSLhsl(334, 60%, 45%)
HSVhsv(334, 75%, 73%)
CMYKcmyk(0%, 75.3%, 42.5%, 27.1%)
CIE-LABlab(43.44, 59.28, -1.37)
CIE-LCHlch(43.44, 59.30, 358.68°)
OKLaboklab(53.63% 0.1821 -0.0029)
OKLCHoklch(53.63% 0.182 359.1)
XYZxyz(23.8823, 13.4577, 15.2470)
Luminance0.1346 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2E6B #2EBA7D
analogous
#BA2EB1 #BA2E6B #BA372E
triadic
#BA2E6B #6BBA2E #2E6BBA
tetradic
#BA2E6B #B1BA2E #2EBA7D #372EBA
square
#BA2E6B #B1BA2E #2EBA7D #372EBA
split-complementary
#BA2E6B #2EBA37 #2EB1BA
monochromatic
#581633 #89224F #BA2E6B #D4518A #E082AB

Accessibility & contrast

On white

5.69
#BA2E6B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#BA2E6B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2E6B
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2E6B#FFFFFF#000000##FFFFFF
##BA2E6B1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D566D
Deuteranopia (green-blind)
#737068
Tritanopia (blue-blind)
#CA1749
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba2e6b;
/* rgb */ color: rgb(186, 46, 107);
/* oklch */ color: oklch(53.6% 0.182 359.1);
Tailwind
colors: {
  custom: {
    50: '#d47495',
    500: '#ba2e6b',
    950: '#000000',
  },
}
SCSS
$custom: #ba2e6b;
$custom-light: #d47495;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2e6b",
  "rgb": {
    "r": 186,
    "g": 46,
    "b": 107
  },
  "hsl": {
    "h": 333.857,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53634,
    "c": 0.18208,
    "h": 359.1
  },
  "luminance": 0.13455
}

Semantic roles & 50–950 ramp

primary
#BA2E6B
secondary
#7BC9A7
accent
#E39E44
background
#FDF7F9
surface
#FBEDF1
border
#D4C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BA2E6B

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

Preview Lab → · Contrast checker → · Palette generator →

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