#BA2D90#BA2D90

#BA2D90 is a mid, highly saturated pink. Relative luminance 0.143; OKLCH L 55.0% C 0.201 H 342.8°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#BA2D90
RGBrgb(186, 45, 144)
HSLhsl(318, 61%, 45%)
HSVhsv(318, 76%, 73%)
CMYKcmyk(0%, 75.8%, 22.6%, 27.1%)
CIE-LABlab(44.71, 63.84, -22.16)
CIE-LCHlch(44.71, 67.58, 340.86°)
OKLaboklab(55% 0.1923 -0.0594)
OKLCHoklch(55% 0.201 342.8)
XYZxyz(26.2231, 14.3322, 27.7655)
Luminance0.1433 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2D90 #2DBA57
analogous
#9D2DBA #BA2D90 #BA2D4A
triadic
#BA2D90 #90BA2D #2D90BA
tetradic
#BA2D90 #BA9D2D #2DBA57 #2D4ABA
square
#BA2D90 #BA9D2D #2DBA57 #2D4ABA
split-complementary
#BA2D90 #4ABA2D #2DBA9D
monochromatic
#571544 #89216A #BA2D90 #D550AD #E081C4

Accessibility & contrast

On white

5.43
#BA2D90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#BA2D90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2D90
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2D90#FFFFFF#000000##FFFFFF
##BA2D901.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5B93
Deuteranopia (green-blind)
#68728D
Tritanopia (blue-blind)
#C62E5B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba2d90;
/* rgb */ color: rgb(186, 45, 144);
/* oklch */ color: oklch(55.0% 0.201 342.8);
Tailwind
colors: {
  custom: {
    50: '#d374b0',
    500: '#ba2d90',
    950: '#000000',
  },
}
SCSS
$custom: #ba2d90;
$custom-light: #d374b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2d90",
  "rgb": {
    "r": 186,
    "g": 45,
    "b": 144
  },
  "hsl": {
    "h": 317.872,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55003,
    "c": 0.20127,
    "h": 342.8
  },
  "luminance": 0.14329
}

Semantic roles & 50–950 ramp

primary
#BA2D90
secondary
#79C991
accent
#E47344
background
#FDF7FA
surface
#FBEEF5
border
#D4C9CF
text
#150910
muted
#837B7F

Preview Lab

Preview with #BA2D90

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

Preview Lab → · Contrast checker → · Palette generator →

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