#BA2954#BA2954

#BA2954 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.6% C 0.181 H 9.1°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#BA2954
RGBrgb(186, 41, 84)
HSLhsl(342, 64%, 45%)
HSVhsv(342, 78%, 73%)
CMYKcmyk(0%, 78%, 54.8%, 27.1%)
CIE-LABlab(42.26, 58.85, 11.31)
CIE-LCHlch(42.26, 59.93, 10.88°)
OKLaboklab(52.55% 0.1789 0.0287)
OKLCHoklch(52.55% 0.181 9.1)
XYZxyz(22.6450, 12.6683, 9.6386)
Luminance0.1267 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2954 #29BA8F
analogous
#BA299D #BA2954 #BA4729
triadic
#BA2954 #54BA29 #2954BA
tetradic
#BA2954 #9DBA29 #29BA8F #4729BA
square
#BA2954 #9DBA29 #29BA8F #4729BA
split-complementary
#BA2954 #29BA47 #299DBA
monochromatic
#561327 #881E3D #BA2954 #D74973 #E27B9A

Accessibility & contrast

On white

5.94
#BA2954 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#BA2954 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2954
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2954#FFFFFF#000000##FFFFFF
##BA29541.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505155
Deuteranopia (green-blind)
#756E50
Tritanopia (blue-blind)
#CB003C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba2954;
/* rgb */ color: rgb(186, 41, 84);
/* oklch */ color: oklch(52.6% 0.181 9.1);
Tailwind
colors: {
  custom: {
    50: '#d57183',
    500: '#ba2954',
    950: '#000000',
  },
}
SCSS
$custom: #ba2954;
$custom-light: #d57183;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2954",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 84
  },
  "hsl": {
    "h": 342.207,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52555,
    "c": 0.18115,
    "h": 9.1
  },
  "luminance": 0.12665
}

Semantic roles & 50–950 ramp

primary
#BA2954
secondary
#75CAB1
accent
#E7B641
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16090A
muted
#847B7C

Preview Lab

Preview with #BA2954

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

Preview Lab → · Contrast checker → · Palette generator →

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