#BA254C#BA254C

#BA254C is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.1% C 0.184 H 12.1°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#BA254C
RGBrgb(186, 37, 76)
HSLhsl(344, 67%, 44%)
HSVhsv(344, 80%, 73%)
CMYKcmyk(0%, 80.1%, 59.1%, 27.1%)
CIE-LABlab(41.67, 59.43, 15.53)
CIE-LCHlch(41.67, 61.43, 14.65°)
OKLaboklab(52.06% 0.1795 0.0385)
OKLCHoklch(52.06% 0.184 12.1)
XYZxyz(22.2180, 12.2874, 8.0379)
Luminance0.1228 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA254C #25BA93
analogous
#BA2596 #BA254C #BA4825
triadic
#BA254C #4CBA25 #254CBA
tetradic
#BA254C #96BA25 #25BA93 #4825BA
square
#BA254C #96BA25 #25BA93 #4825BA
split-complementary
#BA254C #25BA48 #2596BA
monochromatic
#541122 #871B37 #BA254C #DA436A #E47692

Accessibility & contrast

On white

6.07
#BA254C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#BA254C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA254C
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA254C#FFFFFF#000000##FFFFFF
##BA254C1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504F4C
Deuteranopia (green-blind)
#766D48
Tritanopia (blue-blind)
#CC0036
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ba254c;
/* rgb */ color: rgb(186, 37, 76);
/* oklch */ color: oklch(52.1% 0.184 12.1);
Tailwind
colors: {
  custom: {
    50: '#d66f7d',
    500: '#ba254c',
    950: '#000000',
  },
}
SCSS
$custom: #ba254c;
$custom-light: #d66f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba254c",
  "rgb": {
    "r": 186,
    "g": 37,
    "b": 76
  },
  "hsl": {
    "h": 344.295,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52061,
    "c": 0.18356,
    "h": 12.1
  },
  "luminance": 0.12284
}

Semantic roles & 50–950 ramp

primary
#BA254C
secondary
#70CBB3
accent
#EABD3E
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160809
muted
#847B7B

Preview Lab

Preview with #BA254C

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

Preview Lab → · Contrast checker → · Palette generator →

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