#BA2E52#BA2E52

#BA2E52 is a mid, vivid pink. Relative luminance 0.130; OKLCH L 52.9% C 0.176 H 10.9°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#BA2E52
RGBrgb(186, 46, 82)
HSLhsl(345, 60%, 45%)
HSVhsv(345, 75%, 73%)
CMYKcmyk(0%, 75.3%, 55.9%, 27.1%)
CIE-LABlab(42.77, 57.13, 13.27)
CIE-LCHlch(42.77, 58.65, 13.08°)
OKLaboklab(52.92% 0.173 0.0334)
OKLCHoklch(52.92% 0.176 10.9)
XYZxyz(22.7519, 13.0055, 9.2933)
Luminance0.1300 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2E52 #2EBA96
analogous
#BA2E98 #BA2E52 #BA502E
triadic
#BA2E52 #52BA2E #2E52BA
tetradic
#BA2E52 #98BA2E #2EBA96 #502EBA
square
#BA2E52 #98BA2E #2EBA96 #502EBA
split-complementary
#BA2E52 #2EBA50 #2E98BA
monochromatic
#581627 #89223C #BA2E52 #D45173 #E0829A

Accessibility & contrast

On white

5.83
#BA2E52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA2E52
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2E52#FFFFFF#000000##FFFFFF
##BA2E521.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535353
Deuteranopia (green-blind)
#776F4E
Tritanopia (blue-blind)
#CB003D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba2e52;
/* rgb */ color: rgb(186, 46, 82);
/* oklch */ color: oklch(52.9% 0.176 10.9);
Tailwind
colors: {
  custom: {
    50: '#d57382',
    500: '#ba2e52',
    950: '#000000',
  },
}
SCSS
$custom: #ba2e52;
$custom-light: #d57382;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2e52",
  "rgb": {
    "r": 186,
    "g": 46,
    "b": 82
  },
  "hsl": {
    "h": 344.571,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52918,
    "c": 0.17621,
    "h": 10.9
  },
  "luminance": 0.13002
}

Semantic roles & 50–950 ramp

primary
#BA2E52
secondary
#7BC9B5
accent
#E3BB44
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C

Preview Lab

Preview with #BA2E52

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

Preview Lab → · Contrast checker → · Palette generator →

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