#BA295E#BA295E

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

Color values

HEX#BA295E
RGBrgb(186, 41, 94)
HSLhsl(338, 64%, 45%)
HSVhsv(338, 78%, 73%)
CMYKcmyk(0%, 78%, 49.5%, 27.1%)
CIE-LABlab(42.52, 59.65, 5.40)
CIE-LCHlch(42.52, 59.89, 5.17°)
OKLaboklab(52.83% 0.1826 0.0144)
OKLCHoklch(52.83% 0.183 4.5)
XYZxyz(23.0650, 12.8363, 11.8506)
Luminance0.1283 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA295E #29BA85
analogous
#BA29A7 #BA295E #BA3D29
triadic
#BA295E #5EBA29 #295EBA
tetradic
#BA295E #A7BA29 #29BA85 #3D29BA
square
#BA295E #A7BA29 #29BA85 #3D29BA
split-complementary
#BA295E #29BA3D #29A7BA
monochromatic
#56132B #881E45 #BA295E #D7497D #E27BA1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA295E#FFFFFF#000000##FFFFFF
##BA295E1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba295e;
/* rgb */ color: rgb(186, 41, 94);
/* oklch */ color: oklch(52.8% 0.183 4.5);
Tailwind
colors: {
  custom: {
    50: '#d5718b',
    500: '#ba295e',
    950: '#000000',
  },
}
SCSS
$custom: #ba295e;
$custom-light: #d5718b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba295e",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 94
  },
  "hsl": {
    "h": 338.069,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52828,
    "c": 0.18314,
    "h": 4.5
  },
  "luminance": 0.12833
}

Semantic roles & 50–950 ramp

primary
#BA295E
secondary
#75CAAB
accent
#E7AA41
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #BA295E

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

Preview Lab → · Contrast checker → · Palette generator →

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