#BA2997#BA2997

#BA2997 is a mid, highly saturated pink. Relative luminance 0.143; OKLCH L 55.0% C 0.210 H 340.0°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#BA2997
RGBrgb(186, 41, 151)
HSLhsl(314, 64%, 45%)
HSVhsv(314, 78%, 73%)
CMYKcmyk(0%, 78%, 18.8%, 27.1%)
CIE-LABlab(44.61, 65.94, -26.54)
CIE-LCHlch(44.61, 71.08, 338.07°)
OKLaboklab(55.03% 0.1969 -0.0717)
OKLCHoklch(55.03% 0.21 340)
XYZxyz(26.6293, 14.2620, 30.6226)
Luminance0.1426 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2997 #29BA4C
analogous
#9529BA #BA2997 #BA294E
triadic
#BA2997 #97BA29 #2997BA
tetradic
#BA2997 #BA9529 #29BA4C #294EBA
square
#BA2997 #BA9529 #29BA4C #294EBA
split-complementary
#BA2997 #4EBA29 #29BA95
monochromatic
#561346 #881E6E #BA2997 #D749B5 #E27BC9

Accessibility & contrast

On white

5.45
#BA2997 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#BA2997 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2997
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2997#FFFFFF#000000##FFFFFF
##BA29971.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345B9A
Deuteranopia (green-blind)
#657294
Tritanopia (blue-blind)
#C52E5E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba2997;
/* rgb */ color: rgb(186, 41, 151);
/* oklch */ color: oklch(55.0% 0.210 340.0);
Tailwind
colors: {
  custom: {
    50: '#d373b6',
    500: '#ba2997',
    950: '#000000',
  },
}
SCSS
$custom: #ba2997;
$custom-light: #d373b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2997",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 151
  },
  "hsl": {
    "h": 314.483,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55033,
    "c": 0.20957,
    "h": 340
  },
  "luminance": 0.14259
}

Semantic roles & 50–950 ramp

primary
#BA2997
secondary
#75CA89
accent
#E76941
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA2997

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

Preview Lab → · Contrast checker → · Palette generator →

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