#BA2A5C#BA2A5C

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

Color values

HEX#BA2A5C
RGBrgb(186, 42, 92)
HSLhsl(339, 63%, 45%)
HSVhsv(339, 77%, 73%)
CMYKcmyk(0%, 77.4%, 50.5%, 27.1%)
CIE-LABlab(42.57, 59.18, 6.73)
CIE-LCHlch(42.57, 59.56, 6.49°)
OKLaboklab(52.85% 0.1809 0.0176)
OKLCHoklch(52.85% 0.182 5.6)
XYZxyz(23.0115, 12.8709, 11.3958)
Luminance0.1287 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2A5C #2ABA88
analogous
#BA2AA4 #BA2A5C #BA402A
triadic
#BA2A5C #5CBA2A #2A5CBA
tetradic
#BA2A5C #A4BA2A #2ABA88 #402ABA
square
#BA2A5C #A4BA2A #2ABA88 #402ABA
split-complementary
#BA2A5C #2ABA40 #2AA4BA
monochromatic
#56132B #881F43 #BA2A5C #D64B7B #E27DA0

Accessibility & contrast

On white

5.88
#BA2A5C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#BA2A5C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2A5C
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2A5C#FFFFFF#000000##FFFFFF
##BA2A5C1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F525D
Deuteranopia (green-blind)
#746F59
Tritanopia (blue-blind)
#CB0040
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba2a5c;
/* rgb */ color: rgb(186, 42, 92);
/* oklch */ color: oklch(52.8% 0.182 5.6);
Tailwind
colors: {
  custom: {
    50: '#d57289',
    500: '#ba2a5c',
    950: '#000000',
  },
}
SCSS
$custom: #ba2a5c;
$custom-light: #d57289;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2a5c",
  "rgb": {
    "r": 186,
    "g": 42,
    "b": 92
  },
  "hsl": {
    "h": 339.167,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52849,
    "c": 0.18174,
    "h": 5.6
  },
  "luminance": 0.12868
}

Semantic roles & 50–950 ramp

primary
#BA2A5C
secondary
#76CAAD
accent
#E6AD42
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #BA2A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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