#BA254D#BA254D

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

Color values

HEX#BA254D
RGBrgb(186, 37, 77)
HSLhsl(344, 67%, 44%)
HSVhsv(344, 80%, 73%)
CMYKcmyk(0%, 80.1%, 58.6%, 27.1%)
CIE-LABlab(41.69, 59.50, 14.93)
CIE-LCHlch(41.69, 61.34, 14.09°)
OKLaboklab(52.08% 0.1799 0.0371)
OKLCHoklch(52.08% 0.184 11.7)
XYZxyz(22.2531, 12.3014, 8.2224)
Luminance0.1230 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA254D #25BA92
analogous
#BA2597 #BA254D #BA4825
triadic
#BA254D #4DBA25 #254DBA
tetradic
#BA254D #97BA25 #25BA92 #4825BA
square
#BA254D #97BA25 #25BA92 #4825BA
split-complementary
#BA254D #25BA48 #2597BA
monochromatic
#541123 #871B38 #BA254D #DA436B #E47693

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA254D#FFFFFF#000000##FFFFFF
##BA254D1.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)
#4F4F4E
Deuteranopia (green-blind)
#756D49
Tritanopia (blue-blind)
#CC0037
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ba254d;
/* rgb */ color: rgb(186, 37, 77);
/* oklch */ color: oklch(52.1% 0.184 11.7);
Tailwind
colors: {
  custom: {
    50: '#d66f7e',
    500: '#ba254d',
    950: '#000000',
  },
}
SCSS
$custom: #ba254d;
$custom-light: #d66f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba254d",
  "rgb": {
    "r": 186,
    "g": 37,
    "b": 77
  },
  "hsl": {
    "h": 343.893,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52084,
    "c": 0.18366,
    "h": 11.7
  },
  "luminance": 0.12298
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA254D

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

Preview Lab → · Contrast checker → · Palette generator →

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