#BA2956#BA2956

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

Color values

HEX#BA2956
RGBrgb(186, 41, 86)
HSLhsl(341, 64%, 45%)
HSVhsv(341, 78%, 73%)
CMYKcmyk(0%, 78%, 53.8%, 27.1%)
CIE-LABlab(42.31, 59.00, 10.12)
CIE-LCHlch(42.31, 59.86, 9.74°)
OKLaboklab(52.61% 0.1796 0.0259)
OKLCHoklch(52.61% 0.181 8.2)
XYZxyz(22.7245, 12.7001, 10.0571)
Luminance0.1270 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2956 #29BA8D
analogous
#BA299F #BA2956 #BA4429
triadic
#BA2956 #56BA29 #2956BA
tetradic
#BA2956 #9FBA29 #29BA8D #4429BA
square
#BA2956 #9FBA29 #29BA8D #4429BA
split-complementary
#BA2956 #29BA44 #299FBA
monochromatic
#561328 #881E3F #BA2956 #D74975 #E27B9B

Accessibility & contrast

On white

5.93
#BA2956 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#BA2956 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2956
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2956#FFFFFF#000000##FFFFFF
##BA29561.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5157
Deuteranopia (green-blind)
#756E52
Tritanopia (blue-blind)
#CB003D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba2956;
/* rgb */ color: rgb(186, 41, 86);
/* oklch */ color: oklch(52.6% 0.181 8.2);
Tailwind
colors: {
  custom: {
    50: '#d57185',
    500: '#ba2956',
    950: '#000000',
  },
}
SCSS
$custom: #ba2956;
$custom-light: #d57185;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2956",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 86
  },
  "hsl": {
    "h": 341.379,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52607,
    "c": 0.18148,
    "h": 8.2
  },
  "luminance": 0.12697
}

Semantic roles & 50–950 ramp

primary
#BA2956
secondary
#75CAB0
accent
#E7B341
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16090B
muted
#847B7C

Preview Lab

Preview with #BA2956

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

Preview Lab → · Contrast checker → · Palette generator →

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