#BA2562#BA2562

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

Color values

HEX#BA2562
RGBrgb(186, 37, 98)
HSLhsl(335, 67%, 44%)
HSVhsv(335, 80%, 73%)
CMYKcmyk(0%, 80.1%, 47.3%, 27.1%)
CIE-LABlab(42.23, 61.13, 2.48)
CIE-LCHlch(42.23, 61.18, 2.32°)
OKLaboklab(52.65% 0.1877 0.007)
OKLCHoklch(52.65% 0.188 2.1)
XYZxyz(23.1178, 12.6473, 12.7767)
Luminance0.1264 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2562 #25BA7D
analogous
#BA25AC #BA2562 #BA3225
triadic
#BA2562 #62BA25 #2562BA
tetradic
#BA2562 #ACBA25 #25BA7D #3225BA
square
#BA2562 #ACBA25 #25BA7D #3225BA
split-complementary
#BA2562 #25BA32 #25ACBA
monochromatic
#54112C #871B47 #BA2562 #DA4380 #E476A3

Accessibility & contrast

On white

5.95
#BA2562 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA2562
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2562#FFFFFF#000000##FFFFFF
##BA25621.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba2562;
/* rgb */ color: rgb(186, 37, 98);
/* oklch */ color: oklch(52.7% 0.188 2.1);
Tailwind
colors: {
  custom: {
    50: '#d5708e',
    500: '#ba2562',
    950: '#000000',
  },
}
SCSS
$custom: #ba2562;
$custom-light: #d5708e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2562",
  "rgb": {
    "r": 186,
    "g": 37,
    "b": 98
  },
  "hsl": {
    "h": 335.436,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52652,
    "c": 0.18779,
    "h": 2.1
  },
  "luminance": 0.12644
}

Semantic roles & 50–950 ramp

primary
#BA2562
secondary
#70CBA6
accent
#EAA33E
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #BA2562

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

Preview Lab → · Contrast checker → · Palette generator →

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