#BA275A#BA275A

#BA275A is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.6% C 0.184 H 6.1°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#BA275A
RGBrgb(186, 39, 90)
HSLhsl(339, 65%, 44%)
HSVhsv(339, 79%, 73%)
CMYKcmyk(0%, 79%, 51.6%, 27.1%)
CIE-LABlab(42.20, 59.90, 7.46)
CIE-LCHlch(42.20, 60.36, 7.10°)
OKLaboklab(52.56% 0.183 0.0194)
OKLCHoklch(52.56% 0.184 6.1)
XYZxyz(22.8228, 12.6316, 10.9072)
Luminance0.1263 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA275A #27BA87
analogous
#BA27A4 #BA275A #BA3E27
triadic
#BA275A #5ABA27 #275ABA
tetradic
#BA275A #A4BA27 #27BA87 #3E27BA
square
#BA275A #A4BA27 #27BA87 #3E27BA
split-complementary
#BA275A #27BA3E #27A4BA
monochromatic
#551229 #871C42 #BA275A #D84679 #E3799D

Accessibility & contrast

On white

5.96
#BA275A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#BA275A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA275A
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA275A#FFFFFF#000000##FFFFFF
##BA275A1.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D515B
Deuteranopia (green-blind)
#746E56
Tritanopia (blue-blind)
#CB003E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba275a;
/* rgb */ color: rgb(186, 39, 90);
/* oklch */ color: oklch(52.6% 0.184 6.1);
Tailwind
colors: {
  custom: {
    50: '#d57088',
    500: '#ba275a',
    950: '#000000',
  },
}
SCSS
$custom: #ba275a;
$custom-light: #d57088;
$custom-dark: #000000;
JSON
{
  "hex": "#ba275a",
  "rgb": {
    "r": 186,
    "g": 39,
    "b": 90
  },
  "hsl": {
    "h": 339.184,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52563,
    "c": 0.18403,
    "h": 6.1
  },
  "luminance": 0.12628
}

Semantic roles & 50–950 ramp

primary
#BA275A
secondary
#72CBAC
accent
#E8AE40
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #BA275A

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

Preview Lab → · Contrast checker → · Palette generator →

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