#BA2995#BA2995

#BA2995 is a mid, highly saturated pink. Relative luminance 0.142; OKLCH L 54.9% C 0.208 H 340.7°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#BA2995
RGBrgb(186, 41, 149)
HSLhsl(315, 64%, 45%)
HSVhsv(315, 78%, 73%)
CMYKcmyk(0%, 78%, 19.9%, 27.1%)
CIE-LABlab(44.52, 65.67, -25.48)
CIE-LCHlch(44.52, 70.44, 338.80°)
OKLaboklab(54.94% 0.1967 -0.0687)
OKLCHoklch(54.94% 0.208 340.7)
XYZxyz(26.4683, 14.1976, 29.7744)
Luminance0.1419 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2995 #29BA4E
analogous
#9729BA #BA2995 #BA294D
triadic
#BA2995 #95BA29 #2995BA
tetradic
#BA2995 #BA9729 #29BA4E #294DBA
square
#BA2995 #BA9729 #29BA4E #294DBA
split-complementary
#BA2995 #4DBA29 #29BA97
monochromatic
#561345 #881E6D #BA2995 #D749B3 #E27BC8

Accessibility & contrast

On white

5.47
#BA2995 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#BA2995 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2995
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2995#FFFFFF#000000##FFFFFF
##BA29951.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365B98
Deuteranopia (green-blind)
#657192
Tritanopia (blue-blind)
#C52D5D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba2995;
/* rgb */ color: rgb(186, 41, 149);
/* oklch */ color: oklch(54.9% 0.208 340.7);
Tailwind
colors: {
  custom: {
    50: '#d373b4',
    500: '#ba2995',
    950: '#000000',
  },
}
SCSS
$custom: #ba2995;
$custom-light: #d373b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2995",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 149
  },
  "hsl": {
    "h": 315.31,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54937,
    "c": 0.20832,
    "h": 340.7
  },
  "luminance": 0.14195
}

Semantic roles & 50–950 ramp

primary
#BA2995
secondary
#75CA8A
accent
#E76B41
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA2995

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

Preview Lab → · Contrast checker → · Palette generator →

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