#BA2A5E#BA2A5E

#BA2A5E is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.9% C 0.182 H 4.6°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#BA2A5E
RGBrgb(186, 42, 94)
HSLhsl(338, 63%, 45%)
HSVhsv(338, 77%, 73%)
CMYKcmyk(0%, 77.4%, 49.5%, 27.1%)
CIE-LABlab(42.62, 59.35, 5.55)
CIE-LCHlch(42.62, 59.61, 5.34°)
OKLaboklab(52.91% 0.1816 0.0147)
OKLCHoklch(52.91% 0.182 4.6)
XYZxyz(23.1001, 12.9064, 11.8623)
Luminance0.1290 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2A5E #2ABA86
analogous
#BA2AA6 #BA2A5E #BA3E2A
triadic
#BA2A5E #5EBA2A #2A5EBA
tetradic
#BA2A5E #A6BA2A #2ABA86 #3E2ABA
square
#BA2A5E #A6BA2A #2ABA86 #3E2ABA
split-complementary
#BA2A5E #2ABA3E #2AA6BA
monochromatic
#56132C #881F45 #BA2A5E #D64B7D #E27DA1

Accessibility & contrast

On white

5.86
#BA2A5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#BA2A5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2A5E
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2A5E#FFFFFF#000000##FFFFFF
##BA2A5E1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba2a5e;
/* rgb */ color: rgb(186, 42, 94);
/* oklch */ color: oklch(52.9% 0.182 4.6);
Tailwind
colors: {
  custom: {
    50: '#d5728b',
    500: '#ba2a5e',
    950: '#000000',
  },
}
SCSS
$custom: #ba2a5e;
$custom-light: #d5728b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2a5e",
  "rgb": {
    "r": 186,
    "g": 42,
    "b": 94
  },
  "hsl": {
    "h": 338.333,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52906,
    "c": 0.18221,
    "h": 4.6
  },
  "luminance": 0.12903
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA2A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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