#BA2E68#BA2E68

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

Color values

HEX#BA2E68
RGBrgb(186, 46, 104)
HSLhsl(335, 60%, 45%)
HSVhsv(335, 75%, 73%)
CMYKcmyk(0%, 75.3%, 44.1%, 27.1%)
CIE-LABlab(43.35, 58.99, 0.36)
CIE-LCHlch(43.35, 58.99, 0.35°)
OKLaboklab(53.54% 0.1811 0.0016)
OKLCHoklch(53.54% 0.181 0.5)
XYZxyz(23.7272, 13.3957, 14.4302)
Luminance0.1339 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2E68 #2EBA80
analogous
#BA2EAE #BA2E68 #BA3A2E
triadic
#BA2E68 #68BA2E #2E68BA
tetradic
#BA2E68 #AEBA2E #2EBA80 #3A2EBA
square
#BA2E68 #AEBA2E #2EBA80 #3A2EBA
split-complementary
#BA2E68 #2EBA3A #2EAEBA
monochromatic
#581631 #89224D #BA2E68 #D45187 #E082A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA2E68#FFFFFF#000000##FFFFFF
##BA2E681.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)
#4D5569
Deuteranopia (green-blind)
#737065
Tritanopia (blue-blind)
#CA1547
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba2e68;
/* rgb */ color: rgb(186, 46, 104);
/* oklch */ color: oklch(53.5% 0.181 0.5);
Tailwind
colors: {
  custom: {
    50: '#d47493',
    500: '#ba2e68',
    950: '#000000',
  },
}
SCSS
$custom: #ba2e68;
$custom-light: #d47493;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2e68",
  "rgb": {
    "r": 186,
    "g": 46,
    "b": 104
  },
  "hsl": {
    "h": 335.143,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53537,
    "c": 0.18108,
    "h": 0.5
  },
  "luminance": 0.13393
}

Semantic roles & 50–950 ramp

primary
#BA2E68
secondary
#7BC9A9
accent
#E3A244
background
#FDF7F9
surface
#FBEDF1
border
#D4C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BA2E68

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

Preview Lab → · Contrast checker → · Palette generator →

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