#BA2955#BA2955

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

Color values

HEX#BA2955
RGBrgb(186, 41, 85)
HSLhsl(342, 64%, 45%)
HSVhsv(342, 78%, 73%)
CMYKcmyk(0%, 78%, 54.3%, 27.1%)
CIE-LABlab(42.28, 58.93, 10.72)
CIE-LCHlch(42.28, 59.89, 10.31°)
OKLaboklab(52.58% 0.1792 0.0273)
OKLCHoklch(52.58% 0.181 8.7)
XYZxyz(22.6845, 12.6841, 9.8464)
Luminance0.1268 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2955 #29BA8E
analogous
#BA299E #BA2955 #BA4529
triadic
#BA2955 #55BA29 #2955BA
tetradic
#BA2955 #9EBA29 #29BA8E #4529BA
square
#BA2955 #9EBA29 #29BA8E #4529BA
split-complementary
#BA2955 #29BA45 #299EBA
monochromatic
#561327 #881E3E #BA2955 #D74974 #E27B9B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA2955#FFFFFF#000000##FFFFFF
##BA29551.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba2955;
/* rgb */ color: rgb(186, 41, 85);
/* oklch */ color: oklch(52.6% 0.181 8.7);
Tailwind
colors: {
  custom: {
    50: '#d57184',
    500: '#ba2955',
    950: '#000000',
  },
}
SCSS
$custom: #ba2955;
$custom-light: #d57184;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2955",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 85
  },
  "hsl": {
    "h": 341.793,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52581,
    "c": 0.18131,
    "h": 8.7
  },
  "luminance": 0.12681
}

Semantic roles & 50–950 ramp

primary
#BA2955
secondary
#75CAB0
accent
#E7B541
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16090A
muted
#847B7C

Preview Lab

Preview with #BA2955

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

Preview Lab → · Contrast checker → · Palette generator →

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