#BA2E74#BA2E74

#BA2E74 is a mid, vivid pink. Relative luminance 0.137; OKLCH L 53.9% C 0.186 H 354.9°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#BA2E74
RGBrgb(186, 46, 116)
HSLhsl(330, 60%, 45%)
HSVhsv(330, 75%, 73%)
CMYKcmyk(0%, 75.3%, 37.6%, 27.1%)
CIE-LABlab(43.74, 60.20, -6.51)
CIE-LCHlch(43.74, 60.56, 353.83°)
OKLaboklab(53.94% 0.1848 -0.0164)
OKLCHoklch(53.94% 0.186 354.9)
XYZxyz(24.3807, 13.6571, 17.8718)
Luminance0.1365 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2E74 #2EBA74
analogous
#BA2EBA #BA2E74 #BA2E2E
triadic
#BA2E74 #74BA2E #2E74BA
tetradic
#BA2E74 #BABA2E #2EBA74 #2E2EBA
square
#BA2E74 #BABA2E #2EBA74 #2E2EBA
split-complementary
#BA2E74 #2EBA2E #2EBABA
monochromatic
#581637 #892255 #BA2E74 #D45193 #E082B1

Accessibility & contrast

On white

5.63
#BA2E74 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#BA2E74 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2E74
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2E74#FFFFFF#000000##FFFFFF
##BA2E741.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5776
Deuteranopia (green-blind)
#717171
Tritanopia (blue-blind)
#C91E4D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba2e74;
/* rgb */ color: rgb(186, 46, 116);
/* oklch */ color: oklch(53.9% 0.186 354.9);
Tailwind
colors: {
  custom: {
    50: '#d4749c',
    500: '#ba2e74',
    950: '#000000',
  },
}
SCSS
$custom: #ba2e74;
$custom-light: #d4749c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2e74",
  "rgb": {
    "r": 186,
    "g": 46,
    "b": 116
  },
  "hsl": {
    "h": 330,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53944,
    "c": 0.18558,
    "h": 354.9
  },
  "luminance": 0.13654
}

Semantic roles & 50–950 ramp

primary
#BA2E74
secondary
#7BC9A2
accent
#E39444
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA2E74

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

Preview Lab → · Contrast checker → · Palette generator →

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