#BA2E93#BA2E93

#BA2E93 is a mid, highly saturated pink. Relative luminance 0.145; OKLCH L 55.2% C 0.202 H 341.7°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#BA2E93
RGBrgb(186, 46, 147)
HSLhsl(317, 60%, 45%)
HSVhsv(317, 75%, 73%)
CMYKcmyk(0%, 75.3%, 21%, 27.1%)
CIE-LABlab(44.95, 63.92, -23.61)
CIE-LCHlch(44.95, 68.14, 339.73°)
OKLaboklab(55.22% 0.1918 -0.0635)
OKLCHoklch(55.22% 0.202 341.7)
XYZxyz(26.4940, 14.5024, 29.0021)
Luminance0.1450 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2E93 #2EBA55
analogous
#9B2EBA #BA2E93 #BA2E4D
triadic
#BA2E93 #93BA2E #2E93BA
tetradic
#BA2E93 #BA9B2E #2EBA55 #2E4DBA
square
#BA2E93 #BA9B2E #2EBA55 #2E4DBA
split-complementary
#BA2E93 #4DBA2E #2EBA9B
monochromatic
#581645 #89226C #BA2E93 #D451B0 #E082C6

Accessibility & contrast

On white

5.38
#BA2E93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#BA2E93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2E93
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2E93#FFFFFF#000000##FFFFFF
##BA2E931.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5C96
Deuteranopia (green-blind)
#687290
Tritanopia (blue-blind)
#C6305D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba2e93;
/* rgb */ color: rgb(186, 46, 147);
/* oklch */ color: oklch(55.2% 0.202 341.7);
Tailwind
colors: {
  custom: {
    50: '#d375b3',
    500: '#ba2e93',
    950: '#000000',
  },
}
SCSS
$custom: #ba2e93;
$custom-light: #d375b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2e93",
  "rgb": {
    "r": 186,
    "g": 46,
    "b": 147
  },
  "hsl": {
    "h": 316.714,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55219,
    "c": 0.20206,
    "h": 341.7
  },
  "luminance": 0.145
}

Semantic roles & 50–950 ramp

primary
#BA2E93
secondary
#7BC990
accent
#E37144
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA2E93

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

Preview Lab → · Contrast checker → · Palette generator →

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