#BA2E95#BA2E95

#BA2E95 is a mid, highly saturated pink. Relative luminance 0.146; OKLCH L 55.3% C 0.203 H 340.9°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#BA2E95
RGBrgb(186, 46, 149)
HSLhsl(316, 60%, 45%)
HSVhsv(316, 75%, 73%)
CMYKcmyk(0%, 75.3%, 19.9%, 27.1%)
CIE-LABlab(45.03, 64.19, -24.67)
CIE-LCHlch(45.03, 68.77, 338.97°)
OKLaboklab(55.31% 0.1921 -0.0665)
OKLCHoklch(55.31% 0.203 340.9)
XYZxyz(26.6523, 14.5657, 29.8358)
Luminance0.1456 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2E95 #2EBA53
analogous
#992EBA #BA2E95 #BA2E4F
triadic
#BA2E95 #95BA2E #2E95BA
tetradic
#BA2E95 #BA992E #2EBA53 #2E4FBA
square
#BA2E95 #BA992E #2EBA53 #2E4FBA
split-complementary
#BA2E95 #4FBA2E #2EBA99
monochromatic
#581646 #89226E #BA2E95 #D451B1 #E082C7

Accessibility & contrast

On white

5.37
#BA2E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#BA2E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2E95
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2E95#FFFFFF#000000##FFFFFF
##BA2E951.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5C98
Deuteranopia (green-blind)
#677392
Tritanopia (blue-blind)
#C5315E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba2e95;
/* rgb */ color: rgb(186, 46, 149);
/* oklch */ color: oklch(55.3% 0.203 340.9);
Tailwind
colors: {
  custom: {
    50: '#d375b4',
    500: '#ba2e95',
    950: '#000000',
  },
}
SCSS
$custom: #ba2e95;
$custom-light: #d375b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2e95",
  "rgb": {
    "r": 186,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 315.857,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55312,
    "c": 0.20332,
    "h": 340.9
  },
  "luminance": 0.14563
}

Semantic roles & 50–950 ramp

primary
#BA2E95
secondary
#7BC98F
accent
#E36E44
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA2E95

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

Preview Lab → · Contrast checker → · Palette generator →

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