#BA2999#BA2999

#BA2999 is a mid, highly saturated pink. Relative luminance 0.143; OKLCH L 55.1% C 0.211 H 339.2°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#BA2999
RGBrgb(186, 41, 153)
HSLhsl(314, 64%, 45%)
HSVhsv(314, 78%, 73%)
CMYKcmyk(0%, 78%, 17.7%, 27.1%)
CIE-LABlab(44.70, 66.21, -27.60)
CIE-LCHlch(44.70, 71.73, 337.37°)
OKLaboklab(55.13% 0.1972 -0.0747)
OKLCHoklch(55.13% 0.211 339.2)
XYZxyz(26.7931, 14.3276, 31.4853)
Luminance0.1432 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2999 #29BA4A
analogous
#9329BA #BA2999 #BA2951
triadic
#BA2999 #99BA29 #2999BA
tetradic
#BA2999 #BA9329 #29BA4A #2951BA
square
#BA2999 #BA9329 #29BA4A #2951BA
split-complementary
#BA2999 #51BA29 #29BA93
monochromatic
#561347 #881E70 #BA2999 #D749B7 #E27BCB

Accessibility & contrast

On white

5.43
#BA2999 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#BA2999 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2999
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2999#FFFFFF#000000##FFFFFF
##BA29991.005.433.865.43
#FFFFFF5.431.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335B9C
Deuteranopia (green-blind)
#647296
Tritanopia (blue-blind)
#C5305F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba2999;
/* rgb */ color: rgb(186, 41, 153);
/* oklch */ color: oklch(55.1% 0.211 339.2);
Tailwind
colors: {
  custom: {
    50: '#d373b7',
    500: '#ba2999',
    950: '#000000',
  },
}
SCSS
$custom: #ba2999;
$custom-light: #d373b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2999",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 153
  },
  "hsl": {
    "h": 313.655,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5513,
    "c": 0.21085,
    "h": 339.2
  },
  "luminance": 0.14325
}

Semantic roles & 50–950 ramp

primary
#BA2999
secondary
#75CA88
accent
#E76741
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA2999

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

Preview Lab → · Contrast checker → · Palette generator →

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