#BA2B58#BA2B58

#BA2B58 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.8% C 0.180 H 7.6°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#BA2B58
RGBrgb(186, 43, 88)
HSLhsl(341, 62%, 45%)
HSVhsv(341, 77%, 73%)
CMYKcmyk(0%, 76.9%, 52.7%, 27.1%)
CIE-LABlab(42.57, 58.55, 9.24)
CIE-LCHlch(42.57, 59.27, 8.97°)
OKLaboklab(52.82% 0.1784 0.0238)
OKLCHoklch(52.82% 0.18 7.6)
XYZxyz(22.8771, 12.8747, 10.5110)
Luminance0.1287 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2B58 #2BBA8D
analogous
#BA2B9F #BA2B58 #BA462B
triadic
#BA2B58 #58BA2B #2B58BA
tetradic
#BA2B58 #9FBA2B #2BBA8D #462BBA
square
#BA2B58 #9FBA2B #2BBA8D #462BBA
split-complementary
#BA2B58 #2BBA46 #2B9FBA
monochromatic
#571429 #882040 #BA2B58 #D64C78 #E17E9D

Accessibility & contrast

On white

5.88
#BA2B58 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#BA2B58 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2B58
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2B58#FFFFFF#000000##FFFFFF
##BA2B581.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505259
Deuteranopia (green-blind)
#756F55
Tritanopia (blue-blind)
#CB003E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba2b58;
/* rgb */ color: rgb(186, 43, 88);
/* oklch */ color: oklch(52.8% 0.180 7.6);
Tailwind
colors: {
  custom: {
    50: '#d57286',
    500: '#ba2b58',
    950: '#000000',
  },
}
SCSS
$custom: #ba2b58;
$custom-light: #d57286;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2b58",
  "rgb": {
    "r": 186,
    "g": 43,
    "b": 88
  },
  "hsl": {
    "h": 341.119,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52819,
    "c": 0.17999,
    "h": 7.6
  },
  "luminance": 0.12871
}

Semantic roles & 50–950 ramp

primary
#BA2B58
secondary
#77CAB0
accent
#E6B242
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #BA2B58

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

Preview Lab → · Contrast checker → · Palette generator →

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