#BA2951#BA2951

#BA2951 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.5% C 0.181 H 10.5°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#BA2951
RGBrgb(186, 41, 81)
HSLhsl(343, 64%, 45%)
HSVhsv(343, 78%, 73%)
CMYKcmyk(0%, 78%, 56.5%, 27.1%)
CIE-LABlab(42.19, 58.63, 13.10)
CIE-LCHlch(42.19, 60.07, 12.59°)
OKLaboklab(52.48% 0.1777 0.0329)
OKLCHoklch(52.48% 0.181 10.5)
XYZxyz(22.5300, 12.6223, 9.0330)
Luminance0.1262 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2951 #29BA92
analogous
#BA299A #BA2951 #BA4929
triadic
#BA2951 #51BA29 #2951BA
tetradic
#BA2951 #9ABA29 #29BA92 #4929BA
square
#BA2951 #9ABA29 #29BA92 #4929BA
split-complementary
#BA2951 #29BA49 #299ABA
monochromatic
#561325 #881E3B #BA2951 #D74970 #E27B98

Accessibility & contrast

On white

5.96
#BA2951 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#BA2951 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2951
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2951#FFFFFF#000000##FFFFFF
##BA29511.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba2951;
/* rgb */ color: rgb(186, 41, 81);
/* oklch */ color: oklch(52.5% 0.181 10.5);
Tailwind
colors: {
  custom: {
    50: '#d67181',
    500: '#ba2951',
    950: '#000000',
  },
}
SCSS
$custom: #ba2951;
$custom-light: #d67181;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2951",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 81
  },
  "hsl": {
    "h": 343.448,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5248,
    "c": 0.18073,
    "h": 10.5
  },
  "luminance": 0.12619
}

Semantic roles & 50–950 ramp

primary
#BA2951
secondary
#75CAB3
accent
#E7B941
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C

Preview Lab

Preview with #BA2951

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

Preview Lab → · Contrast checker → · Palette generator →

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