#BA2D59#BA2D59

#BA2D59 is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.0% C 0.178 H 7.5°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#BA2D59
RGBrgb(186, 45, 89)
HSLhsl(341, 61%, 45%)
HSVhsv(341, 76%, 73%)
CMYKcmyk(0%, 75.8%, 52.2%, 27.1%)
CIE-LABlab(42.82, 58.00, 8.97)
CIE-LCHlch(42.82, 58.69, 8.79°)
OKLaboklab(53.01% 0.1767 0.0231)
OKLCHoklch(53.01% 0.178 7.5)
XYZxyz(22.9933, 13.0403, 10.7555)
Luminance0.1304 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2D59 #2DBA8E
analogous
#BA2D9F #BA2D59 #BA482D
triadic
#BA2D59 #59BA2D #2D59BA
tetradic
#BA2D59 #9FBA2D #2DBA8E #482DBA
square
#BA2D59 #9FBA2D #2DBA8E #482DBA
split-complementary
#BA2D59 #2DBA48 #2D9FBA
monochromatic
#57152A #892141 #BA2D59 #D55079 #E0819F

Accessibility & contrast

On white

5.82
#BA2D59 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#BA2D59 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2D59
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2D59#FFFFFF#000000##FFFFFF
##BA2D591.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51535A
Deuteranopia (green-blind)
#766F56
Tritanopia (blue-blind)
#CB0240
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba2d59;
/* rgb */ color: rgb(186, 45, 89);
/* oklch */ color: oklch(53.0% 0.178 7.5);
Tailwind
colors: {
  custom: {
    50: '#d57387',
    500: '#ba2d59',
    950: '#000000',
  },
}
SCSS
$custom: #ba2d59;
$custom-light: #d57387;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2d59",
  "rgb": {
    "r": 186,
    "g": 45,
    "b": 89
  },
  "hsl": {
    "h": 341.277,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53012,
    "c": 0.17825,
    "h": 7.5
  },
  "luminance": 0.13037
}

Semantic roles & 50–950 ramp

primary
#BA2D59
secondary
#79C9B0
accent
#E4B244
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #BA2D59

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

Preview Lab → · Contrast checker → · Palette generator →

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