#BA2552#BA2552

#BA2552 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.2% C 0.184 H 9.4°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#BA2552
RGBrgb(186, 37, 82)
HSLhsl(342, 67%, 44%)
HSVhsv(342, 80%, 73%)
CMYKcmyk(0%, 80.1%, 55.9%, 27.1%)
CIE-LABlab(41.81, 59.85, 11.94)
CIE-LCHlch(41.81, 61.03, 11.28°)
OKLaboklab(52.21% 0.1818 0.0302)
OKLCHoklch(52.21% 0.184 9.4)
XYZxyz(22.4365, 12.3747, 9.1881)
Luminance0.1237 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2552 #25BA8D
analogous
#BA259C #BA2552 #BA4225
triadic
#BA2552 #52BA25 #2552BA
tetradic
#BA2552 #9CBA25 #25BA8D #4225BA
square
#BA2552 #9CBA25 #25BA8D #4225BA
split-complementary
#BA2552 #25BA42 #259CBA
monochromatic
#541125 #871B3B #BA2552 #DA4370 #E47697

Accessibility & contrast

On white

6.04
#BA2552 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#BA2552 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2552
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2552#FFFFFF#000000##FFFFFF
##BA25521.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4F53
Deuteranopia (green-blind)
#756D4E
Tritanopia (blue-blind)
#CB0039
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba2552;
/* rgb */ color: rgb(186, 37, 82);
/* oklch */ color: oklch(52.2% 0.184 9.4);
Tailwind
colors: {
  custom: {
    50: '#d66f82',
    500: '#ba2552',
    950: '#000000',
  },
}
SCSS
$custom: #ba2552;
$custom-light: #d66f82;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2552",
  "rgb": {
    "r": 186,
    "g": 37,
    "b": 82
  },
  "hsl": {
    "h": 341.879,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52205,
    "c": 0.18429,
    "h": 9.4
  },
  "luminance": 0.12371
}

Semantic roles & 50–950 ramp

primary
#BA2552
secondary
#70CBAF
accent
#EAB63E
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16080A
muted
#847B7C

Preview Lab

Preview with #BA2552

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

Preview Lab → · Contrast checker → · Palette generator →

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