#BA2558#BA2558

#BA2558 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.4% C 0.185 H 6.7°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#BA2558
RGBrgb(186, 37, 88)
HSLhsl(339, 67%, 44%)
HSVhsv(339, 80%, 73%)
CMYKcmyk(0%, 80.1%, 52.7%, 27.1%)
CIE-LABlab(41.95, 60.30, 8.37)
CIE-LCHlch(41.95, 60.88, 7.90°)
OKLaboklab(52.36% 0.1841 0.0216)
OKLCHoklch(52.36% 0.185 6.7)
XYZxyz(22.6748, 12.4701, 10.4436)
Luminance0.1247 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2558 #25BA87
analogous
#BA25A2 #BA2558 #BA3C25
triadic
#BA2558 #58BA25 #2558BA
tetradic
#BA2558 #A2BA25 #25BA87 #3C25BA
square
#BA2558 #A2BA25 #25BA87 #3C25BA
split-complementary
#BA2558 #25BA3C #25A2BA
monochromatic
#541128 #871B40 #BA2558 #DA4376 #E4769B

Accessibility & contrast

On white

6.01
#BA2558 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#BA2558 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2558
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2558#FFFFFF#000000##FFFFFF
##BA25581.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5059
Deuteranopia (green-blind)
#746E54
Tritanopia (blue-blind)
#CB003C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba2558;
/* rgb */ color: rgb(186, 37, 88);
/* oklch */ color: oklch(52.4% 0.185 6.7);
Tailwind
colors: {
  custom: {
    50: '#d57086',
    500: '#ba2558',
    950: '#000000',
  },
}
SCSS
$custom: #ba2558;
$custom-light: #d57086;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2558",
  "rgb": {
    "r": 186,
    "g": 37,
    "b": 88
  },
  "hsl": {
    "h": 339.463,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52363,
    "c": 0.18534,
    "h": 6.7
  },
  "luminance": 0.12467
}

Semantic roles & 50–950 ramp

primary
#BA2558
secondary
#70CBAC
accent
#EAAF3E
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16080B
muted
#847B7C

Preview Lab

Preview with #BA2558

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

Preview Lab → · Contrast checker → · Palette generator →

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