#BA2952#BA2952

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

Color values

HEX#BA2952
RGBrgb(186, 41, 82)
HSLhsl(343, 64%, 45%)
HSVhsv(343, 78%, 73%)
CMYKcmyk(0%, 78%, 55.9%, 27.1%)
CIE-LABlab(42.21, 58.70, 12.50)
CIE-LCHlch(42.21, 60.02, 12.02°)
OKLaboklab(52.51% 0.1781 0.0315)
OKLCHoklch(52.51% 0.181 10)
XYZxyz(22.5678, 12.6374, 9.2319)
Luminance0.1263 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2952 #29BA91
analogous
#BA299B #BA2952 #BA4829
triadic
#BA2952 #52BA29 #2952BA
tetradic
#BA2952 #9BBA29 #29BA91 #4829BA
square
#BA2952 #9BBA29 #29BA91 #4829BA
split-complementary
#BA2952 #29BA48 #299BBA
monochromatic
#561326 #881E3C #BA2952 #D74971 #E27B98

Accessibility & contrast

On white

5.95
#BA2952 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA2952
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2952#FFFFFF#000000##FFFFFF
##BA29521.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505153
Deuteranopia (green-blind)
#766E4E
Tritanopia (blue-blind)
#CB003B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba2952;
/* rgb */ color: rgb(186, 41, 82);
/* oklch */ color: oklch(52.5% 0.181 10.0);
Tailwind
colors: {
  custom: {
    50: '#d67182',
    500: '#ba2952',
    950: '#000000',
  },
}
SCSS
$custom: #ba2952;
$custom-light: #d67182;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2952",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 82
  },
  "hsl": {
    "h": 343.034,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52505,
    "c": 0.18086,
    "h": 10
  },
  "luminance": 0.12634
}

Semantic roles & 50–950 ramp

primary
#BA2952
secondary
#75CAB2
accent
#E7B841
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C

Preview Lab

Preview with #BA2952

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

Preview Lab → · Contrast checker → · Palette generator →

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