#BA2754#BA2754

#BA2754 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.4% C 0.183 H 8.8°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#BA2754
RGBrgb(186, 39, 84)
HSLhsl(342, 65%, 44%)
HSVhsv(342, 79%, 73%)
CMYKcmyk(0%, 79%, 54.8%, 27.1%)
CIE-LABlab(42.05, 59.44, 11.02)
CIE-LCHlch(42.05, 60.45, 10.51°)
OKLaboklab(52.4% 0.1808 0.028)
OKLCHoklch(52.4% 0.183 8.8)
XYZxyz(22.5776, 12.5335, 9.6161)
Luminance0.1253 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2754 #27BA8D
analogous
#BA279E #BA2754 #BA4427
triadic
#BA2754 #54BA27 #2754BA
tetradic
#BA2754 #9EBA27 #27BA8D #4427BA
square
#BA2754 #9EBA27 #27BA8D #4427BA
split-complementary
#BA2754 #27BA44 #279EBA
monochromatic
#551226 #871C3D #BA2754 #D84673 #E37999

Accessibility & contrast

On white

5.99
#BA2754 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#BA2754 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2754
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2754#FFFFFF#000000##FFFFFF
##BA27541.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5055
Deuteranopia (green-blind)
#756E50
Tritanopia (blue-blind)
#CB003B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba2754;
/* rgb */ color: rgb(186, 39, 84);
/* oklch */ color: oklch(52.4% 0.183 8.8);
Tailwind
colors: {
  custom: {
    50: '#d57083',
    500: '#ba2754',
    950: '#000000',
  },
}
SCSS
$custom: #ba2754;
$custom-light: #d57083;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2754",
  "rgb": {
    "r": 186,
    "g": 39,
    "b": 84
  },
  "hsl": {
    "h": 341.633,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52402,
    "c": 0.18291,
    "h": 8.8
  },
  "luminance": 0.1253
}

Semantic roles & 50–950 ramp

primary
#BA2754
secondary
#72CBB0
accent
#E8B540
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16080A
muted
#847B7C

Preview Lab

Preview with #BA2754

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

Preview Lab → · Contrast checker → · Palette generator →

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