#BA255C#BA255C

#BA255C is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.5% C 0.186 H 4.9°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#BA255C
RGBrgb(186, 37, 92)
HSLhsl(338, 67%, 44%)
HSVhsv(338, 80%, 73%)
CMYKcmyk(0%, 80.1%, 50.5%, 27.1%)
CIE-LABlab(42.06, 60.62, 6.00)
CIE-LCHlch(42.06, 60.92, 5.66°)
OKLaboklab(52.47% 0.1855 0.0158)
OKLCHoklch(52.47% 0.186 4.9)
XYZxyz(22.8451, 12.5382, 11.3403)
Luminance0.1253 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA255C #25BA83
analogous
#BA25A6 #BA255C #BA3825
triadic
#BA255C #5CBA25 #255CBA
tetradic
#BA255C #A6BA25 #25BA83 #3825BA
square
#BA255C #A6BA25 #25BA83 #3825BA
split-complementary
#BA255C #25BA38 #25A6BA
monochromatic
#54112A #871B43 #BA255C #DA437A #E4769E

Accessibility & contrast

On white

5.99
#BA255C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#BA255C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA255C
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA255C#FFFFFF#000000##FFFFFF
##BA255C1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C515D
Deuteranopia (green-blind)
#736E58
Tritanopia (blue-blind)
#CB003E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba255c;
/* rgb */ color: rgb(186, 37, 92);
/* oklch */ color: oklch(52.5% 0.186 4.9);
Tailwind
colors: {
  custom: {
    50: '#d57089',
    500: '#ba255c',
    950: '#000000',
  },
}
SCSS
$custom: #ba255c;
$custom-light: #d57089;
$custom-dark: #000000;
JSON
{
  "hex": "#ba255c",
  "rgb": {
    "r": 186,
    "g": 37,
    "b": 92
  },
  "hsl": {
    "h": 337.852,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52474,
    "c": 0.18621,
    "h": 4.9
  },
  "luminance": 0.12535
}

Semantic roles & 50–950 ramp

primary
#BA255C
secondary
#70CBA9
accent
#EAAA3E
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080B
muted
#837B7C

Preview Lab

Preview with #BA255C

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

Preview Lab → · Contrast checker → · Palette generator →

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