#BA2551#BA2551

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

Color values

HEX#BA2551
RGBrgb(186, 37, 81)
HSLhsl(342, 67%, 44%)
HSVhsv(342, 80%, 73%)
CMYKcmyk(0%, 80.1%, 56.5%, 27.1%)
CIE-LABlab(41.78, 59.78, 12.54)
CIE-LCHlch(41.78, 61.08, 11.85°)
OKLaboklab(52.18% 0.1814 0.0316)
OKLCHoklch(52.18% 0.184 9.9)
XYZxyz(22.3987, 12.3596, 8.9892)
Luminance0.1236 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2551 #25BA8E
analogous
#BA259B #BA2551 #BA4325
triadic
#BA2551 #51BA25 #2551BA
tetradic
#BA2551 #9BBA25 #25BA8E #4325BA
square
#BA2551 #9BBA25 #25BA8E #4325BA
split-complementary
#BA2551 #25BA43 #259BBA
monochromatic
#541125 #871B3B #BA2551 #DA436F #E47696

Accessibility & contrast

On white

6.05
#BA2551 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA2551
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2551#FFFFFF#000000##FFFFFF
##BA25511.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4F52
Deuteranopia (green-blind)
#756D4D
Tritanopia (blue-blind)
#CB0038
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba2551;
/* rgb */ color: rgb(186, 37, 81);
/* oklch */ color: oklch(52.2% 0.184 9.9);
Tailwind
colors: {
  custom: {
    50: '#d66f81',
    500: '#ba2551',
    950: '#000000',
  },
}
SCSS
$custom: #ba2551;
$custom-light: #d66f81;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2551",
  "rgb": {
    "r": 186,
    "g": 37,
    "b": 81
  },
  "hsl": {
    "h": 342.282,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52181,
    "c": 0.18415,
    "h": 9.9
  },
  "luminance": 0.12356
}

Semantic roles & 50–950 ramp

primary
#BA2551
secondary
#70CBB0
accent
#EAB73E
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16080A
muted
#847B7C

Preview Lab

Preview with #BA2551

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

Preview Lab → · Contrast checker → · Palette generator →

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