#BA2D70#BA2D70

#BA2D70 is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.7% C 0.185 H 356.6°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#BA2D70
RGBrgb(186, 45, 112)
HSLhsl(331, 61%, 45%)
HSVhsv(331, 76%, 73%)
CMYKcmyk(0%, 75.8%, 39.8%, 27.1%)
CIE-LABlab(43.49, 60.11, -4.40)
CIE-LCHlch(43.49, 60.27, 355.81°)
OKLaboklab(53.72% 0.1847 -0.0108)
OKLCHoklch(53.72% 0.185 356.6)
XYZxyz(24.1144, 13.4888, 16.6598)
Luminance0.1349 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2D70 #2DBA77
analogous
#BA2DB7 #BA2D70 #BA302D
triadic
#BA2D70 #70BA2D #2D70BA
tetradic
#BA2D70 #B7BA2D #2DBA77 #302DBA
square
#BA2D70 #B7BA2D #2DBA77 #302DBA
split-complementary
#BA2D70 #2DBA30 #2DB7BA
monochromatic
#571535 #892152 #BA2D70 #D5508F #E081AE

Accessibility & contrast

On white

5.68
#BA2D70 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#BA2D70 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2D70
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2D70#FFFFFF#000000##FFFFFF
##BA2D701.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5672
Deuteranopia (green-blind)
#71706D
Tritanopia (blue-blind)
#C9194B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba2d70;
/* rgb */ color: rgb(186, 45, 112);
/* oklch */ color: oklch(53.7% 0.185 356.6);
Tailwind
colors: {
  custom: {
    50: '#d47399',
    500: '#ba2d70',
    950: '#000000',
  },
}
SCSS
$custom: #ba2d70;
$custom-light: #d47399;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2d70",
  "rgb": {
    "r": 186,
    "g": 45,
    "b": 112
  },
  "hsl": {
    "h": 331.489,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5372,
    "c": 0.18499,
    "h": 356.6
  },
  "luminance": 0.13486
}

Semantic roles & 50–950 ramp

primary
#BA2D70
secondary
#79C9A3
accent
#E49844
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BA2D70

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

Preview Lab → · Contrast checker → · Palette generator →

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