#BA2A70#BA2A70

#BA2A70 is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.5% C 0.188 H 356.3°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#BA2A70
RGBrgb(186, 42, 112)
HSLhsl(331, 63%, 45%)
HSVhsv(331, 77%, 73%)
CMYKcmyk(0%, 77.4%, 39.8%, 27.1%)
CIE-LABlab(43.16, 61.03, -4.89)
CIE-LCHlch(43.16, 61.22, 355.42°)
OKLaboklab(53.48% 0.1876 -0.0121)
OKLCHoklch(53.48% 0.188 356.3)
XYZxyz(24.0040, 13.2679, 16.6230)
Luminance0.1326 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2A70 #2ABA74
analogous
#BA2AB8 #BA2A70 #BA2C2A
triadic
#BA2A70 #70BA2A #2A70BA
tetradic
#BA2A70 #B8BA2A #2ABA74 #2C2ABA
square
#BA2A70 #B8BA2A #2ABA74 #2C2ABA
split-complementary
#BA2A70 #2ABA2C #2AB8BA
monochromatic
#561334 #881F52 #BA2A70 #D64B8F #E27DAE

Accessibility & contrast

On white

5.75
#BA2A70 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#BA2A70 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2A70
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2A70#FFFFFF#000000##FFFFFF
##BA2A701.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495572
Deuteranopia (green-blind)
#70706D
Tritanopia (blue-blind)
#C9144A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba2a70;
/* rgb */ color: rgb(186, 42, 112);
/* oklch */ color: oklch(53.5% 0.188 356.3);
Tailwind
colors: {
  custom: {
    50: '#d47299',
    500: '#ba2a70',
    950: '#000000',
  },
}
SCSS
$custom: #ba2a70;
$custom-light: #d47299;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2a70",
  "rgb": {
    "r": 186,
    "g": 42,
    "b": 112
  },
  "hsl": {
    "h": 330.833,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53481,
    "c": 0.188,
    "h": 356.3
  },
  "luminance": 0.13265
}

Semantic roles & 50–950 ramp

primary
#BA2A70
secondary
#76CAA1
accent
#E69642
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BA2A70

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

Preview Lab → · Contrast checker → · Palette generator →

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