#BA2D6F#BA2D6F

#BA2D6F is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.7% C 0.185 H 357.1°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#BA2D6F
RGBrgb(186, 45, 111)
HSLhsl(332, 61%, 45%)
HSVhsv(332, 76%, 73%)
CMYKcmyk(0%, 75.8%, 40.3%, 27.1%)
CIE-LABlab(43.46, 60.00, -3.83)
CIE-LCHlch(43.46, 60.13, 356.35°)
OKLaboklab(53.69% 0.1844 -0.0093)
OKLCHoklch(53.69% 0.185 357.1)
XYZxyz(24.0590, 13.4666, 16.3682)
Luminance0.1346 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2D6F #2DBA78
analogous
#BA2DB5 #BA2D6F #BA322D
triadic
#BA2D6F #6FBA2D #2D6FBA
tetradic
#BA2D6F #B5BA2D #2DBA78 #322DBA
square
#BA2D6F #B5BA2D #2DBA78 #322DBA
split-complementary
#BA2D6F #2DBA32 #2DB5BA
monochromatic
#571534 #892152 #BA2D6F #D5508E #E081AE

Accessibility & contrast

On white

5.69
#BA2D6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#BA2D6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2D6F
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2D6F#FFFFFF#000000##FFFFFF
##BA2D6F1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5671
Deuteranopia (green-blind)
#72706C
Tritanopia (blue-blind)
#C9184A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba2d6f;
/* rgb */ color: rgb(186, 45, 111);
/* oklch */ color: oklch(53.7% 0.185 357.1);
Tailwind
colors: {
  custom: {
    50: '#d47398',
    500: '#ba2d6f',
    950: '#000000',
  },
}
SCSS
$custom: #ba2d6f;
$custom-light: #d47398;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2d6f",
  "rgb": {
    "r": 186,
    "g": 45,
    "b": 111
  },
  "hsl": {
    "h": 331.915,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53686,
    "c": 0.18459,
    "h": 357.1
  },
  "luminance": 0.13464
}

Semantic roles & 50–950 ramp

primary
#BA2D6F
secondary
#79C9A4
accent
#E49944
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BA2D6F

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

Preview Lab → · Contrast checker → · Palette generator →

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