#BA2657#BA2657

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

Color values

HEX#BA2657
RGBrgb(186, 38, 87)
HSLhsl(340, 66%, 44%)
HSVhsv(340, 80%, 73%)
CMYKcmyk(0%, 79.6%, 53.2%, 27.1%)
CIE-LABlab(42.03, 59.95, 9.10)
CIE-LCHlch(42.03, 60.63, 8.63°)
OKLaboklab(52.41% 0.1828 0.0234)
OKLCHoklch(52.41% 0.184 7.3)
XYZxyz(22.6652, 12.5167, 10.2375)
Luminance0.1251 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2657 #26BA89
analogous
#BA26A1 #BA2657 #BA3F26
triadic
#BA2657 #57BA26 #2657BA
tetradic
#BA2657 #A1BA26 #26BA89 #3F26BA
square
#BA2657 #A1BA26 #26BA89 #3F26BA
split-complementary
#BA2657 #26BA3F #26A1BA
monochromatic
#541127 #871C3F #BA2657 #D94476 #E3779B

Accessibility & contrast

On white

6.00
#BA2657 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#BA2657 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2657
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2657#FFFFFF#000000##FFFFFF
##BA26571.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba2657;
/* rgb */ color: rgb(186, 38, 87);
/* oklch */ color: oklch(52.4% 0.184 7.3);
Tailwind
colors: {
  custom: {
    50: '#d57086',
    500: '#ba2657',
    950: '#000000',
  },
}
SCSS
$custom: #ba2657;
$custom-light: #d57086;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2657",
  "rgb": {
    "r": 186,
    "g": 38,
    "b": 87
  },
  "hsl": {
    "h": 340.135,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52407,
    "c": 0.18429,
    "h": 7.3
  },
  "luminance": 0.12513
}

Semantic roles & 50–950 ramp

primary
#BA2657
secondary
#71CBAD
accent
#E9B13F
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16080B
muted
#847B7C

Preview Lab

Preview with #BA2657

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

Preview Lab → · Contrast checker → · Palette generator →

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