#BA2E73#BA2E73

#BA2E73 is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.9% C 0.185 H 355.4°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#BA2E73
RGBrgb(186, 46, 115)
HSLhsl(330, 60%, 45%)
HSVhsv(330, 75%, 73%)
CMYKcmyk(0%, 75.3%, 38.2%, 27.1%)
CIE-LABlab(43.70, 60.10, -5.94)
CIE-LCHlch(43.70, 60.39, 354.35°)
OKLaboklab(53.91% 0.1846 -0.0149)
OKLCHoklch(53.91% 0.185 355.4)
XYZxyz(24.3228, 13.6339, 17.5671)
Luminance0.1363 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2E73 #2EBA75
analogous
#BA2EB9 #BA2E73 #BA2F2E
triadic
#BA2E73 #73BA2E #2E73BA
tetradic
#BA2E73 #B9BA2E #2EBA75 #2F2EBA
square
#BA2E73 #B9BA2E #2EBA75 #2F2EBA
split-complementary
#BA2E73 #2EBA2F #2EB9BA
monochromatic
#581636 #892255 #BA2E73 #D45192 #E082B1

Accessibility & contrast

On white

5.64
#BA2E73 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#BA2E73 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2E73
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2E73#FFFFFF#000000##FFFFFF
##BA2E731.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5775
Deuteranopia (green-blind)
#717170
Tritanopia (blue-blind)
#C91D4D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba2e73;
/* rgb */ color: rgb(186, 46, 115);
/* oklch */ color: oklch(53.9% 0.185 355.4);
Tailwind
colors: {
  custom: {
    50: '#d4749b',
    500: '#ba2e73',
    950: '#000000',
  },
}
SCSS
$custom: #ba2e73;
$custom-light: #d4749b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2e73",
  "rgb": {
    "r": 186,
    "g": 46,
    "b": 115
  },
  "hsl": {
    "h": 330.429,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53908,
    "c": 0.18515,
    "h": 355.4
  },
  "luminance": 0.13631
}

Semantic roles & 50–950 ramp

primary
#BA2E73
secondary
#7BC9A2
accent
#E39544
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA2E73

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

Preview Lab → · Contrast checker → · Palette generator →

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