#BA2D6E#BA2D6E

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

Color values

HEX#BA2D6E
RGBrgb(186, 45, 110)
HSLhsl(332, 61%, 45%)
HSVhsv(332, 76%, 73%)
CMYKcmyk(0%, 75.8%, 40.9%, 27.1%)
CIE-LABlab(43.43, 59.90, -3.26)
CIE-LCHlch(43.43, 59.99, 356.89°)
OKLaboklab(53.65% 0.1841 -0.0078)
OKLCHoklch(53.65% 0.184 357.6)
XYZxyz(24.0043, 13.4447, 16.0799)
Luminance0.1344 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2D6E #2DBA79
analogous
#BA2DB5 #BA2D6E #BA322D
triadic
#BA2D6E #6EBA2D #2D6EBA
tetradic
#BA2D6E #B5BA2D #2DBA79 #322DBA
square
#BA2D6E #B5BA2D #2DBA79 #322DBA
split-complementary
#BA2D6E #2DBA32 #2DB5BA
monochromatic
#571534 #892151 #BA2D6E #D5508D #E081AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA2D6E#FFFFFF#000000##FFFFFF
##BA2D6E1.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)
#4B5670
Deuteranopia (green-blind)
#72706B
Tritanopia (blue-blind)
#C9184A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba2d6e;
/* rgb */ color: rgb(186, 45, 110);
/* oklch */ color: oklch(53.7% 0.184 357.6);
Tailwind
colors: {
  custom: {
    50: '#d47397',
    500: '#ba2d6e',
    950: '#000000',
  },
}
SCSS
$custom: #ba2d6e;
$custom-light: #d47397;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2d6e",
  "rgb": {
    "r": 186,
    "g": 45,
    "b": 110
  },
  "hsl": {
    "h": 332.34,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53651,
    "c": 0.18422,
    "h": 357.6
  },
  "luminance": 0.13442
}

Semantic roles & 50–950 ramp

primary
#BA2D6E
secondary
#79C9A5
accent
#E49A44
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BA2D6E

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

Preview Lab → · Contrast checker → · Palette generator →

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