#BA2A51#BA2A51

#BA2A51 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.6% C 0.180 H 10.7°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#BA2A51
RGBrgb(186, 42, 81)
HSLhsl(344, 63%, 45%)
HSVhsv(344, 77%, 73%)
CMYKcmyk(0%, 77.4%, 56.5%, 27.1%)
CIE-LABlab(42.30, 58.33, 13.25)
CIE-LCHlch(42.30, 59.81, 12.79°)
OKLaboklab(52.56% 0.1767 0.0333)
OKLCHoklch(52.56% 0.18 10.7)
XYZxyz(22.5651, 12.6924, 9.0447)
Luminance0.1269 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2A51 #2ABA93
analogous
#BA2A99 #BA2A51 #BA4B2A
triadic
#BA2A51 #51BA2A #2A51BA
tetradic
#BA2A51 #99BA2A #2ABA93 #4B2ABA
square
#BA2A51 #99BA2A #2ABA93 #4B2ABA
split-complementary
#BA2A51 #2ABA4B #2A99BA
monochromatic
#561326 #881F3B #BA2A51 #D64B71 #E27D98

Accessibility & contrast

On white

5.94
#BA2A51 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#BA2A51 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2A51
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2A51#FFFFFF#000000##FFFFFF
##BA2A511.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515152
Deuteranopia (green-blind)
#766E4D
Tritanopia (blue-blind)
#CB003B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba2a51;
/* rgb */ color: rgb(186, 42, 81);
/* oklch */ color: oklch(52.6% 0.180 10.7);
Tailwind
colors: {
  custom: {
    50: '#d67181',
    500: '#ba2a51',
    950: '#000000',
  },
}
SCSS
$custom: #ba2a51;
$custom-light: #d67181;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2a51",
  "rgb": {
    "r": 186,
    "g": 42,
    "b": 81
  },
  "hsl": {
    "h": 343.75,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.5256,
    "c": 0.17983,
    "h": 10.7
  },
  "luminance": 0.12689
}

Semantic roles & 50–950 ramp

primary
#BA2A51
secondary
#76CAB3
accent
#E6BA42
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C

Preview Lab

Preview with #BA2A51

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

Preview Lab → · Contrast checker → · Palette generator →

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