#BA2751#BA2751

#BA2751 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.3% C 0.182 H 10.2°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#BA2751
RGBrgb(186, 39, 81)
HSLhsl(343, 65%, 44%)
HSVhsv(343, 79%, 73%)
CMYKcmyk(0%, 79%, 56.5%, 27.1%)
CIE-LABlab(41.98, 59.22, 12.81)
CIE-LCHlch(41.98, 60.59, 12.21°)
OKLaboklab(52.33% 0.1796 0.0322)
OKLCHoklch(52.33% 0.182 10.2)
XYZxyz(22.4626, 12.4875, 9.0105)
Luminance0.1248 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2751 #27BA90
analogous
#BA279B #BA2751 #BA4727
triadic
#BA2751 #51BA27 #2751BA
tetradic
#BA2751 #9BBA27 #27BA90 #4727BA
square
#BA2751 #9BBA27 #27BA90 #4727BA
split-complementary
#BA2751 #27BA47 #279BBA
monochromatic
#551225 #871C3B #BA2751 #D84670 #E37997

Accessibility & contrast

On white

6.01
#BA2751 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#BA2751 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2751
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2751#FFFFFF#000000##FFFFFF
##BA27511.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505052
Deuteranopia (green-blind)
#756E4D
Tritanopia (blue-blind)
#CB0039
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba2751;
/* rgb */ color: rgb(186, 39, 81);
/* oklch */ color: oklch(52.3% 0.182 10.2);
Tailwind
colors: {
  custom: {
    50: '#d67081',
    500: '#ba2751',
    950: '#000000',
  },
}
SCSS
$custom: #ba2751;
$custom-light: #d67081;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2751",
  "rgb": {
    "r": 186,
    "g": 39,
    "b": 81
  },
  "hsl": {
    "h": 342.857,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52327,
    "c": 0.18247,
    "h": 10.2
  },
  "luminance": 0.12484
}

Semantic roles & 50–950 ramp

primary
#BA2751
secondary
#72CBB1
accent
#E8B840
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16080A
muted
#847B7C

Preview Lab

Preview with #BA2751

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

Preview Lab → · Contrast checker → · Palette generator →

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