#BA2D6C#BA2D6C

#BA2D6C is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.6% C 0.183 H 358.5°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#BA2D6C
RGBrgb(186, 45, 108)
HSLhsl(333, 61%, 45%)
HSVhsv(333, 76%, 73%)
CMYKcmyk(0%, 75.8%, 41.9%, 27.1%)
CIE-LABlab(43.36, 59.70, -2.11)
CIE-LCHlch(43.36, 59.74, 357.98°)
OKLaboklab(53.58% 0.1834 -0.0048)
OKLCHoklch(53.58% 0.183 358.5)
XYZxyz(23.8966, 13.4017, 15.5128)
Luminance0.1340 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2D6C #2DBA7B
analogous
#BA2DB3 #BA2D6C #BA342D
triadic
#BA2D6C #6CBA2D #2D6CBA
tetradic
#BA2D6C #B3BA2D #2DBA7B #342DBA
square
#BA2D6C #B3BA2D #2DBA7B #342DBA
split-complementary
#BA2D6C #2DBA34 #2DB3BA
monochromatic
#571533 #89214F #BA2D6C #D5508B #E081AC

Accessibility & contrast

On white

5.71
#BA2D6C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#BA2D6C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2D6C
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2D6C#FFFFFF#000000##FFFFFF
##BA2D6C1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C556E
Deuteranopia (green-blind)
#727069
Tritanopia (blue-blind)
#CA1649
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba2d6c;
/* rgb */ color: rgb(186, 45, 108);
/* oklch */ color: oklch(53.6% 0.183 358.5);
Tailwind
colors: {
  custom: {
    50: '#d47396',
    500: '#ba2d6c',
    950: '#000000',
  },
}
SCSS
$custom: #ba2d6c;
$custom-light: #d47396;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2d6c",
  "rgb": {
    "r": 186,
    "g": 45,
    "b": 108
  },
  "hsl": {
    "h": 333.191,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53584,
    "c": 0.18347,
    "h": 358.5
  },
  "luminance": 0.13399
}

Semantic roles & 50–950 ramp

primary
#BA2D6C
secondary
#79C9A6
accent
#E49C44
background
#FDF7F9
surface
#FBEDF1
border
#D4C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BA2D6C

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

Preview Lab → · Contrast checker → · Palette generator →

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