#BA2E63#BA2E63

#BA2E63 is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.4% C 0.180 H 2.9°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#BA2E63
RGBrgb(186, 46, 99)
HSLhsl(337, 60%, 45%)
HSVhsv(337, 75%, 73%)
CMYKcmyk(0%, 75.3%, 46.8%, 27.1%)
CIE-LABlab(43.21, 58.53, 3.27)
CIE-LCHlch(43.21, 58.62, 3.20°)
OKLaboklab(53.38% 0.1794 0.009)
OKLCHoklch(53.38% 0.18 2.9)
XYZxyz(23.4808, 13.2971, 13.1321)
Luminance0.1329 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2E63 #2EBA85
analogous
#BA2EA9 #BA2E63 #BA3F2E
triadic
#BA2E63 #63BA2E #2E63BA
tetradic
#BA2E63 #A9BA2E #2EBA85 #3F2EBA
square
#BA2E63 #A9BA2E #2EBA85 #3F2EBA
split-complementary
#BA2E63 #2EBA3F #2EA9BA
monochromatic
#58162F #892249 #BA2E63 #D45183 #E082A6

Accessibility & contrast

On white

5.74
#BA2E63 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#BA2E63 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2E63
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2E63#FFFFFF#000000##FFFFFF
##BA2E631.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5564
Deuteranopia (green-blind)
#747060
Tritanopia (blue-blind)
#CA1045
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba2e63;
/* rgb */ color: rgb(186, 46, 99);
/* oklch */ color: oklch(53.4% 0.180 2.9);
Tailwind
colors: {
  custom: {
    50: '#d4738f',
    500: '#ba2e63',
    950: '#000000',
  },
}
SCSS
$custom: #ba2e63;
$custom-light: #d4738f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2e63",
  "rgb": {
    "r": 186,
    "g": 46,
    "b": 99
  },
  "hsl": {
    "h": 337.286,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53382,
    "c": 0.17958,
    "h": 2.9
  },
  "luminance": 0.13294
}

Semantic roles & 50–950 ramp

primary
#BA2E63
secondary
#7BC9AB
accent
#E3A744
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #BA2E63

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

Preview Lab → · Contrast checker → · Palette generator →

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