#BA2495#BA2495

#BA2495 is a mid, highly saturated pink. Relative luminance 0.139; OKLCH L 54.6% C 0.213 H 340.6°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#BA2495
RGBrgb(186, 36, 149)
HSLhsl(315, 68%, 44%)
HSVhsv(315, 81%, 73%)
CMYKcmyk(0%, 80.6%, 19.9%, 27.1%)
CIE-LABlab(44.05, 67.00, -26.20)
CIE-LCHlch(44.05, 71.94, 338.64°)
OKLaboklab(54.6% 0.2007 -0.0707)
OKLCHoklch(54.6% 0.213 340.6)
XYZxyz(26.3062, 13.8735, 29.7204)
Luminance0.1387 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2495 #24BA49
analogous
#9424BA #BA2495 #BA244A
triadic
#BA2495 #95BA24 #2495BA
tetradic
#BA2495 #BA9424 #24BA49 #244ABA
square
#BA2495 #BA9424 #24BA49 #244ABA
split-complementary
#BA2495 #4ABA24 #24BA94
monochromatic
#531043 #871A6C #BA2495 #DA41B4 #E474C9

Accessibility & contrast

On white

5.56
#BA2495 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#BA2495 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2495
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2495#FFFFFF#000000##FFFFFF
##BA24951.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325998
Deuteranopia (green-blind)
#647192
Tritanopia (blue-blind)
#C5295C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba2495;
/* rgb */ color: rgb(186, 36, 149);
/* oklch */ color: oklch(54.6% 0.213 340.6);
Tailwind
colors: {
  custom: {
    50: '#d371b4',
    500: '#ba2495',
    950: '#000000',
  },
}
SCSS
$custom: #ba2495;
$custom-light: #d371b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2495",
  "rgb": {
    "r": 186,
    "g": 36,
    "b": 149
  },
  "hsl": {
    "h": 314.8,
    "s": 67.568,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54603,
    "c": 0.21282,
    "h": 340.6
  },
  "luminance": 0.13871
}

Semantic roles & 50–950 ramp

primary
#BA2495
secondary
#6ECB85
accent
#EA683D
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA2495

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

Preview Lab → · Contrast checker → · Palette generator →

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