#BA2563#BA2563

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

Color values

HEX#BA2563
RGBrgb(186, 37, 99)
HSLhsl(335, 67%, 44%)
HSVhsv(335, 80%, 73%)
CMYKcmyk(0%, 80.1%, 46.8%, 27.1%)
CIE-LABlab(42.26, 61.22, 1.89)
CIE-LCHlch(42.26, 61.25, 1.77°)
OKLaboklab(52.68% 0.188 0.0055)
OKLCHoklch(52.68% 0.188 1.7)
XYZxyz(23.1653, 12.6663, 13.0270)
Luminance0.1266 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2563 #25BA7C
analogous
#BA25AD #BA2563 #BA3225
triadic
#BA2563 #63BA25 #2563BA
tetradic
#BA2563 #ADBA25 #25BA7C #3225BA
square
#BA2563 #ADBA25 #25BA7C #3225BA
split-complementary
#BA2563 #25BA32 #25ADBA
monochromatic
#54112D #871B48 #BA2563 #DA4381 #E476A3

Accessibility & contrast

On white

5.94
#BA2563 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#BA2563 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2563
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2563#FFFFFF#000000##FFFFFF
##BA25631.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5164
Deuteranopia (green-blind)
#726E60
Tritanopia (blue-blind)
#CA0041
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba2563;
/* rgb */ color: rgb(186, 37, 99);
/* oklch */ color: oklch(52.7% 0.188 1.7);
Tailwind
colors: {
  custom: {
    50: '#d5708f',
    500: '#ba2563',
    950: '#000000',
  },
}
SCSS
$custom: #ba2563;
$custom-light: #d5708f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2563",
  "rgb": {
    "r": 186,
    "g": 37,
    "b": 99
  },
  "hsl": {
    "h": 335.034,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52683,
    "c": 0.18808,
    "h": 1.7
  },
  "luminance": 0.12663
}

Semantic roles & 50–950 ramp

primary
#BA2563
secondary
#70CBA5
accent
#EAA23E
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #BA2563

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

Preview Lab → · Contrast checker → · Palette generator →

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