#BA2B5E#BA2B5E

#BA2B5E is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.0% C 0.181 H 4.8°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#BA2B5E
RGBrgb(186, 43, 94)
HSLhsl(339, 62%, 45%)
HSVhsv(339, 77%, 73%)
CMYKcmyk(0%, 76.9%, 49.5%, 27.1%)
CIE-LABlab(42.73, 59.04, 5.71)
CIE-LCHlch(42.73, 59.32, 5.52°)
OKLaboklab(52.99% 0.1806 0.0151)
OKLCHoklch(52.99% 0.181 4.8)
XYZxyz(23.1360, 12.9782, 11.8743)
Luminance0.1298 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2B5E #2BBA87
analogous
#BA2BA6 #BA2B5E #BA3F2B
triadic
#BA2B5E #5EBA2B #2B5EBA
tetradic
#BA2B5E #A6BA2B #2BBA87 #3F2BBA
square
#BA2B5E #A6BA2B #2BBA87 #3F2BBA
split-complementary
#BA2B5E #2BBA3F #2BA6BA
monochromatic
#57142C #882045 #BA2B5E #D64C7D #E17EA2

Accessibility & contrast

On white

5.84
#BA2B5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#BA2B5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2B5E
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2B5E#FFFFFF#000000##FFFFFF
##BA2B5E1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F535F
Deuteranopia (green-blind)
#746F5B
Tritanopia (blue-blind)
#CB0241
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba2b5e;
/* rgb */ color: rgb(186, 43, 94);
/* oklch */ color: oklch(53.0% 0.181 4.8);
Tailwind
colors: {
  custom: {
    50: '#d5728b',
    500: '#ba2b5e',
    950: '#000000',
  },
}
SCSS
$custom: #ba2b5e;
$custom-light: #d5728b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2b5e",
  "rgb": {
    "r": 186,
    "g": 43,
    "b": 94
  },
  "hsl": {
    "h": 338.601,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52986,
    "c": 0.18125,
    "h": 4.8
  },
  "luminance": 0.12975
}

Semantic roles & 50–950 ramp

primary
#BA2B5E
secondary
#77CAAC
accent
#E6AB42
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #BA2B5E

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

Preview Lab → · Contrast checker → · Palette generator →

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