#BA2959#BA2959

#BA2959 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.7% C 0.182 H 6.8°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#BA2959
RGBrgb(186, 41, 89)
HSLhsl(340, 64%, 45%)
HSVhsv(340, 78%, 73%)
CMYKcmyk(0%, 78%, 52.2%, 27.1%)
CIE-LABlab(42.38, 59.24, 8.35)
CIE-LCHlch(42.38, 59.82, 8.02°)
OKLaboklab(52.69% 0.1808 0.0216)
OKLCHoklch(52.69% 0.182 6.8)
XYZxyz(22.8479, 12.7495, 10.7070)
Luminance0.1275 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2959 #29BA8A
analogous
#BA29A2 #BA2959 #BA4229
triadic
#BA2959 #59BA29 #2959BA
tetradic
#BA2959 #A2BA29 #29BA8A #4229BA
square
#BA2959 #A2BA29 #29BA8A #4229BA
split-complementary
#BA2959 #29BA42 #29A2BA
monochromatic
#561329 #881E41 #BA2959 #D74978 #E27B9D

Accessibility & contrast

On white

5.92
#BA2959 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#BA2959 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2959
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2959#FFFFFF#000000##FFFFFF
##BA29591.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F525A
Deuteranopia (green-blind)
#756E55
Tritanopia (blue-blind)
#CB003E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba2959;
/* rgb */ color: rgb(186, 41, 89);
/* oklch */ color: oklch(52.7% 0.182 6.8);
Tailwind
colors: {
  custom: {
    50: '#d57187',
    500: '#ba2959',
    950: '#000000',
  },
}
SCSS
$custom: #ba2959;
$custom-light: #d57187;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2959",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 89
  },
  "hsl": {
    "h": 340.138,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52687,
    "c": 0.18204,
    "h": 6.8
  },
  "luminance": 0.12746
}

Semantic roles & 50–950 ramp

primary
#BA2959
secondary
#75CAAE
accent
#E7B041
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #BA2959

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

Preview Lab → · Contrast checker → · Palette generator →

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