#BA295D#BA295D

#BA295D is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.8% C 0.183 H 5.0°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#BA295D
RGBrgb(186, 41, 93)
HSLhsl(338, 64%, 45%)
HSVhsv(338, 78%, 73%)
CMYKcmyk(0%, 78%, 50%, 27.1%)
CIE-LABlab(42.49, 59.56, 5.99)
CIE-LCHlch(42.49, 59.87, 5.74°)
OKLaboklab(52.8% 0.1822 0.0158)
OKLCHoklch(52.8% 0.183 5)
XYZxyz(23.0205, 12.8185, 11.6158)
Luminance0.1281 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA295D #29BA86
analogous
#BA29A6 #BA295D #BA3E29
triadic
#BA295D #5DBA29 #295DBA
tetradic
#BA295D #A6BA29 #29BA86 #3E29BA
square
#BA295D #A6BA29 #29BA86 #3E29BA
split-complementary
#BA295D #29BA3E #29A6BA
monochromatic
#56132B #881E44 #BA295D #D7497C #E27BA0

Accessibility & contrast

On white

5.89
#BA295D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#BA295D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA295D
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA295D#FFFFFF#000000##FFFFFF
##BA295D1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E525E
Deuteranopia (green-blind)
#746F5A
Tritanopia (blue-blind)
#CB0040
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba295d;
/* rgb */ color: rgb(186, 41, 93);
/* oklch */ color: oklch(52.8% 0.183 5.0);
Tailwind
colors: {
  custom: {
    50: '#d5718a',
    500: '#ba295d',
    950: '#000000',
  },
}
SCSS
$custom: #ba295d;
$custom-light: #d5718a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba295d",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 93
  },
  "hsl": {
    "h": 338.483,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52799,
    "c": 0.1829,
    "h": 5
  },
  "luminance": 0.12815
}

Semantic roles & 50–950 ramp

primary
#BA295D
secondary
#75CAAB
accent
#E7AB41
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #BA295D

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

Preview Lab → · Contrast checker → · Palette generator →

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