#BA2962#BA2962

#BA2962 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.9% C 0.184 H 2.6°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#BA2962
RGBrgb(186, 41, 98)
HSLhsl(336, 64%, 45%)
HSVhsv(336, 78%, 73%)
CMYKcmyk(0%, 78%, 47.3%, 27.1%)
CIE-LABlab(42.63, 60.00, 3.05)
CIE-LCHlch(42.63, 60.07, 2.91°)
OKLaboklab(52.95% 0.184 0.0085)
OKLCHoklch(52.95% 0.184 2.6)
XYZxyz(23.2492, 12.9100, 12.8205)
Luminance0.1291 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2962 #29BA81
analogous
#BA29AB #BA2962 #BA3929
triadic
#BA2962 #62BA29 #2962BA
tetradic
#BA2962 #ABBA29 #29BA81 #3929BA
square
#BA2962 #ABBA29 #29BA81 #3929BA
split-complementary
#BA2962 #29BA39 #29ABBA
monochromatic
#56132D #881E48 #BA2962 #D74981 #E27BA4

Accessibility & contrast

On white

5.86
#BA2962 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#BA2962 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2962
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2962#FFFFFF#000000##FFFFFF
##BA29621.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5363
Deuteranopia (green-blind)
#736F5F
Tritanopia (blue-blind)
#CA0142
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba2962;
/* rgb */ color: rgb(186, 41, 98);
/* oklch */ color: oklch(52.9% 0.184 2.6);
Tailwind
colors: {
  custom: {
    50: '#d5718e',
    500: '#ba2962',
    950: '#000000',
  },
}
SCSS
$custom: #ba2962;
$custom-light: #d5718e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2962",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 98
  },
  "hsl": {
    "h": 336.414,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52946,
    "c": 0.18419,
    "h": 2.6
  },
  "luminance": 0.12907
}

Semantic roles & 50–950 ramp

primary
#BA2962
secondary
#75CAA9
accent
#E7A641
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #BA2962

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

Preview Lab → · Contrast checker → · Palette generator →

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