#BA2D52#BA2D52

#BA2D52 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.8% C 0.177 H 10.7°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#BA2D52
RGBrgb(186, 45, 82)
HSLhsl(344, 61%, 45%)
HSVhsv(344, 76%, 73%)
CMYKcmyk(0%, 75.8%, 55.9%, 27.1%)
CIE-LABlab(42.66, 57.45, 13.11)
CIE-LCHlch(42.66, 58.93, 12.86°)
OKLaboklab(52.83% 0.1741 0.033)
OKLCHoklch(52.83% 0.177 10.7)
XYZxyz(22.7133, 12.9283, 9.2804)
Luminance0.1293 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2D52 #2DBA95
analogous
#BA2D99 #BA2D52 #BA4E2D
triadic
#BA2D52 #52BA2D #2D52BA
tetradic
#BA2D52 #99BA2D #2DBA95 #4E2DBA
square
#BA2D52 #99BA2D #2DBA95 #4E2DBA
split-complementary
#BA2D52 #2DBA4E #2D99BA
monochromatic
#571527 #89213C #BA2D52 #D55073 #E0819A

Accessibility & contrast

On white

5.86
#BA2D52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#BA2D52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2D52
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2D52#FFFFFF#000000##FFFFFF
##BA2D521.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525253
Deuteranopia (green-blind)
#776F4E
Tritanopia (blue-blind)
#CB003D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba2d52;
/* rgb */ color: rgb(186, 45, 82);
/* oklch */ color: oklch(52.8% 0.177 10.7);
Tailwind
colors: {
  custom: {
    50: '#d57382',
    500: '#ba2d52',
    950: '#000000',
  },
}
SCSS
$custom: #ba2d52;
$custom-light: #d57382;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2d52",
  "rgb": {
    "r": 186,
    "g": 45,
    "b": 82
  },
  "hsl": {
    "h": 344.255,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52832,
    "c": 0.17717,
    "h": 10.7
  },
  "luminance": 0.12925
}

Semantic roles & 50–950 ramp

primary
#BA2D52
secondary
#79C9B4
accent
#E4BA44
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C

Preview Lab

Preview with #BA2D52

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

Preview Lab → · Contrast checker → · Palette generator →

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