#BA2D51#BA2D51

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

Color values

HEX#BA2D51
RGBrgb(186, 45, 81)
HSLhsl(345, 61%, 45%)
HSVhsv(345, 76%, 73%)
CMYKcmyk(0%, 75.8%, 56.5%, 27.1%)
CIE-LABlab(42.63, 57.38, 13.71)
CIE-LCHlch(42.63, 58.99, 13.43°)
OKLaboklab(52.81% 0.1737 0.0344)
OKLCHoklch(52.81% 0.177 11.2)
XYZxyz(22.6755, 12.9132, 9.0815)
Luminance0.1291 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2D51 #2DBA96
analogous
#BA2D97 #BA2D51 #BA502D
triadic
#BA2D51 #51BA2D #2D51BA
tetradic
#BA2D51 #97BA2D #2DBA96 #502DBA
square
#BA2D51 #97BA2D #2DBA96 #502DBA
split-complementary
#BA2D51 #2DBA50 #2D97BA
monochromatic
#571526 #89213C #BA2D51 #D55072 #E08199

Accessibility & contrast

On white

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

On black

3.58
#BA2D51 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA2D51#FFFFFF#000000##FFFFFF
##BA2D511.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535252
Deuteranopia (green-blind)
#776F4D
Tritanopia (blue-blind)
#CB003C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba2d51;
/* rgb */ color: rgb(186, 45, 81);
/* oklch */ color: oklch(52.8% 0.177 11.2);
Tailwind
colors: {
  custom: {
    50: '#d57381',
    500: '#ba2d51',
    950: '#000000',
  },
}
SCSS
$custom: #ba2d51;
$custom-light: #d57381;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2d51",
  "rgb": {
    "r": 186,
    "g": 45,
    "b": 81
  },
  "hsl": {
    "h": 344.681,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52808,
    "c": 0.17705,
    "h": 11.2
  },
  "luminance": 0.1291
}

Semantic roles & 50–950 ramp

primary
#BA2D51
secondary
#79C9B5
accent
#E4BB44
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C

Preview Lab

Preview with #BA2D51

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

Preview Lab → · Contrast checker → · Palette generator →

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