#BA2658#BA2658

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

Color values

HEX#BA2658
RGBrgb(186, 38, 88)
HSLhsl(340, 66%, 44%)
HSVhsv(340, 80%, 73%)
CMYKcmyk(0%, 79.6%, 52.7%, 27.1%)
CIE-LABlab(42.05, 60.03, 8.51)
CIE-LCHlch(42.05, 60.63, 8.07°)
OKLaboklab(52.43% 0.1832 0.022)
OKLCHoklch(52.43% 0.184 6.8)
XYZxyz(22.7064, 12.5332, 10.4541)
Luminance0.1253 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2658 #26BA88
analogous
#BA26A2 #BA2658 #BA3E26
triadic
#BA2658 #58BA26 #2658BA
tetradic
#BA2658 #A2BA26 #26BA88 #3E26BA
square
#BA2658 #A2BA26 #26BA88 #3E26BA
split-complementary
#BA2658 #26BA3E #26A2BA
monochromatic
#541128 #871C40 #BA2658 #D94477 #E3779C

Accessibility & contrast

On white

5.99
#BA2658 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#BA2658 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2658
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2658#FFFFFF#000000##FFFFFF
##BA26581.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.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: #ba2658;
/* rgb */ color: rgb(186, 38, 88);
/* oklch */ color: oklch(52.4% 0.184 6.8);
Tailwind
colors: {
  custom: {
    50: '#d57086',
    500: '#ba2658',
    950: '#000000',
  },
}
SCSS
$custom: #ba2658;
$custom-light: #d57086;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2658",
  "rgb": {
    "r": 186,
    "g": 38,
    "b": 88
  },
  "hsl": {
    "h": 339.73,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52434,
    "c": 0.18448,
    "h": 6.8
  },
  "luminance": 0.1253
}

Semantic roles & 50–950 ramp

primary
#BA2658
secondary
#71CBAC
accent
#E9B03F
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16080B
muted
#847B7C

Preview Lab

Preview with #BA2658

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

Preview Lab → · Contrast checker → · Palette generator →

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