#BA2E8E#BA2E8E

#BA2E8E is a mid, vivid pink. Relative luminance 0.143; OKLCH L 55.0% C 0.199 H 343.7°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#BA2E8E
RGBrgb(186, 46, 142)
HSLhsl(319, 60%, 45%)
HSVhsv(319, 75%, 73%)
CMYKcmyk(0%, 75.3%, 23.7%, 27.1%)
CIE-LABlab(44.73, 63.27, -20.91)
CIE-LCHlch(44.73, 66.64, 341.71°)
OKLaboklab(54.99% 0.191 -0.0559)
OKLCHoklch(54.99% 0.199 343.7)
XYZxyz(26.1102, 14.3489, 26.9805)
Luminance0.1435 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2E8E #2EBA5A
analogous
#A02EBA #BA2E8E #BA2E48
triadic
#BA2E8E #8EBA2E #2E8EBA
tetradic
#BA2E8E #BAA02E #2EBA5A #2E48BA
square
#BA2E8E #BAA02E #2EBA5A #2E48BA
split-complementary
#BA2E8E #48BA2E #2EBAA0
monochromatic
#581643 #892269 #BA2E8E #D451AB #E082C3

Accessibility & contrast

On white

5.43
#BA2E8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#BA2E8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2E8E
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2E8E#FFFFFF#000000##FFFFFF
##BA2E8E1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5B91
Deuteranopia (green-blind)
#69728B
Tritanopia (blue-blind)
#C62E5A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba2e8e;
/* rgb */ color: rgb(186, 46, 142);
/* oklch */ color: oklch(55.0% 0.199 343.7);
Tailwind
colors: {
  custom: {
    50: '#d375af',
    500: '#ba2e8e',
    950: '#000000',
  },
}
SCSS
$custom: #ba2e8e;
$custom-light: #d375af;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2e8e",
  "rgb": {
    "r": 186,
    "g": 46,
    "b": 142
  },
  "hsl": {
    "h": 318.857,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54992,
    "c": 0.19902,
    "h": 343.7
  },
  "luminance": 0.14346
}

Semantic roles & 50–950 ramp

primary
#BA2E8E
secondary
#7BC993
accent
#E37644
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #BA2E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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