#BA2950#BA2950

#BA2950 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.5% C 0.181 H 11.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#BA2950
RGBrgb(186, 41, 80)
HSLhsl(344, 64%, 45%)
HSVhsv(344, 78%, 73%)
CMYKcmyk(0%, 78%, 57%, 27.1%)
CIE-LABlab(42.17, 58.56, 13.69)
CIE-LCHlch(42.17, 60.14, 13.16°)
OKLaboklab(52.46% 0.1773 0.0343)
OKLCHoklch(52.46% 0.181 11)
XYZxyz(22.4928, 12.6074, 8.8370)
Luminance0.1260 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2950 #29BA93
analogous
#BA2999 #BA2950 #BA4A29
triadic
#BA2950 #50BA29 #2950BA
tetradic
#BA2950 #99BA29 #29BA93 #4A29BA
square
#BA2950 #99BA29 #29BA93 #4A29BA
split-complementary
#BA2950 #29BA4A #2999BA
monochromatic
#561325 #881E3A #BA2950 #D7496F #E27B97

Accessibility & contrast

On white

5.96
#BA2950 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#BA2950 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2950
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2950#FFFFFF#000000##FFFFFF
##BA29501.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515151
Deuteranopia (green-blind)
#766E4C
Tritanopia (blue-blind)
#CB003A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba2950;
/* rgb */ color: rgb(186, 41, 80);
/* oklch */ color: oklch(52.5% 0.181 11.0);
Tailwind
colors: {
  custom: {
    50: '#d67180',
    500: '#ba2950',
    950: '#000000',
  },
}
SCSS
$custom: #ba2950;
$custom-light: #d67180;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2950",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 80
  },
  "hsl": {
    "h": 343.862,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52456,
    "c": 0.1806,
    "h": 11
  },
  "luminance": 0.12604
}

Semantic roles & 50–950 ramp

primary
#BA2950
secondary
#75CAB3
accent
#E7BA41
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C

Preview Lab

Preview with #BA2950

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

Preview Lab → · Contrast checker → · Palette generator →

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