#BA2851#BA2851

#BA2851 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.4% C 0.182 H 10.3°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#BA2851
RGBrgb(186, 40, 81)
HSLhsl(343, 65%, 44%)
HSVhsv(343, 78%, 73%)
CMYKcmyk(0%, 78.5%, 56.5%, 27.1%)
CIE-LABlab(42.08, 58.93, 12.95)
CIE-LCHlch(42.08, 60.33, 12.40°)
OKLaboklab(52.4% 0.1787 0.0326)
OKLCHoklch(52.4% 0.182 10.3)
XYZxyz(22.4959, 12.5540, 9.0216)
Luminance0.1255 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2851 #28BA91
analogous
#BA289A #BA2851 #BA4828
triadic
#BA2851 #51BA28 #2851BA
tetradic
#BA2851 #9ABA28 #28BA91 #4828BA
square
#BA2851 #9ABA28 #28BA91 #4828BA
split-complementary
#BA2851 #28BA48 #289ABA
monochromatic
#551225 #881D3B #BA2851 #D84870 #E27A97

Accessibility & contrast

On white

5.98
#BA2851 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA2851
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2851#FFFFFF#000000##FFFFFF
##BA28511.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505052
Deuteranopia (green-blind)
#766E4D
Tritanopia (blue-blind)
#CB003A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba2851;
/* rgb */ color: rgb(186, 40, 81);
/* oklch */ color: oklch(52.4% 0.182 10.3);
Tailwind
colors: {
  custom: {
    50: '#d67181',
    500: '#ba2851',
    950: '#000000',
  },
}
SCSS
$custom: #ba2851;
$custom-light: #d67181;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2851",
  "rgb": {
    "r": 186,
    "g": 40,
    "b": 81
  },
  "hsl": {
    "h": 343.151,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52403,
    "c": 0.18161,
    "h": 10.3
  },
  "luminance": 0.12551
}

Semantic roles & 50–950 ramp

primary
#BA2851
secondary
#73CAB2
accent
#E8B940
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C

Preview Lab

Preview with #BA2851

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

Preview Lab → · Contrast checker → · Palette generator →

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