#BA295F#BA295F

#BA295F is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.9% C 0.183 H 4.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#BA295F
RGBrgb(186, 41, 95)
HSLhsl(338, 64%, 45%)
HSVhsv(338, 78%, 73%)
CMYKcmyk(0%, 78%, 48.9%, 27.1%)
CIE-LABlab(42.54, 59.73, 4.81)
CIE-LCHlch(42.54, 59.93, 4.61°)
OKLaboklab(52.86% 0.1829 0.0129)
OKLCHoklch(52.86% 0.183 4)
XYZxyz(23.1102, 12.8544, 12.0885)
Luminance0.1285 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA295F #29BA84
analogous
#BA29A8 #BA295F #BA3B29
triadic
#BA295F #5FBA29 #295FBA
tetradic
#BA295F #A8BA29 #29BA84 #3B29BA
square
#BA295F #A8BA29 #29BA84 #3B29BA
split-complementary
#BA295F #29BA3B #29A8BA
monochromatic
#56132C #881E45 #BA295F #D7497E #E27BA2

Accessibility & contrast

On white

5.88
#BA295F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#BA295F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA295F
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA295F#FFFFFF#000000##FFFFFF
##BA295F1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5260
Deuteranopia (green-blind)
#746F5C
Tritanopia (blue-blind)
#CB0041
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba295f;
/* rgb */ color: rgb(186, 41, 95);
/* oklch */ color: oklch(52.9% 0.183 4.0);
Tailwind
colors: {
  custom: {
    50: '#d5718c',
    500: '#ba295f',
    950: '#000000',
  },
}
SCSS
$custom: #ba295f;
$custom-light: #d5718c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba295f",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 95
  },
  "hsl": {
    "h": 337.655,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52857,
    "c": 0.18339,
    "h": 4
  },
  "luminance": 0.12851
}

Semantic roles & 50–950 ramp

primary
#BA295F
secondary
#75CAAA
accent
#E7A941
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #BA295F

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

Preview Lab → · Contrast checker → · Palette generator →

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