#BA2957#BA2957

#BA2957 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.6% C 0.182 H 7.7°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#BA2957
RGBrgb(186, 41, 87)
HSLhsl(341, 64%, 45%)
HSVhsv(341, 78%, 73%)
CMYKcmyk(0%, 78%, 53.2%, 27.1%)
CIE-LABlab(42.33, 59.08, 9.53)
CIE-LCHlch(42.33, 59.84, 9.16°)
OKLaboklab(52.63% 0.18 0.0245)
OKLCHoklch(52.63% 0.182 7.7)
XYZxyz(22.7651, 12.7163, 10.2707)
Luminance0.1271 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2957 #29BA8C
analogous
#BA299F #BA2957 #BA4429
triadic
#BA2957 #57BA29 #2957BA
tetradic
#BA2957 #9FBA29 #29BA8C #4429BA
square
#BA2957 #9FBA29 #29BA8C #4429BA
split-complementary
#BA2957 #29BA44 #299FBA
monochromatic
#561328 #881E40 #BA2957 #D74976 #E27B9C

Accessibility & contrast

On white

5.93
#BA2957 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#BA2957 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2957
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2957#FFFFFF#000000##FFFFFF
##BA29571.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5158
Deuteranopia (green-blind)
#756E53
Tritanopia (blue-blind)
#CB003D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba2957;
/* rgb */ color: rgb(186, 41, 87);
/* oklch */ color: oklch(52.6% 0.182 7.7);
Tailwind
colors: {
  custom: {
    50: '#d57186',
    500: '#ba2957',
    950: '#000000',
  },
}
SCSS
$custom: #ba2957;
$custom-light: #d57186;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2957",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 87
  },
  "hsl": {
    "h": 340.966,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52633,
    "c": 0.18166,
    "h": 7.7
  },
  "luminance": 0.12713
}

Semantic roles & 50–950 ramp

primary
#BA2957
secondary
#75CAAF
accent
#E7B241
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #BA2957

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

Preview Lab → · Contrast checker → · Palette generator →

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