#BA285E#BA285E

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

Color values

HEX#BA285E
RGBrgb(186, 40, 94)
HSLhsl(338, 65%, 44%)
HSVhsv(338, 78%, 73%)
CMYKcmyk(0%, 78.5%, 49.5%, 27.1%)
CIE-LABlab(42.41, 59.94, 5.25)
CIE-LCHlch(42.41, 60.17, 5.01°)
OKLaboklab(52.75% 0.1835 0.014)
OKLCHoklch(52.75% 0.184 4.4)
XYZxyz(23.0309, 12.7680, 11.8392)
Luminance0.1277 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA285E #28BA84
analogous
#BA28A7 #BA285E #BA3B28
triadic
#BA285E #5EBA28 #285EBA
tetradic
#BA285E #A7BA28 #28BA84 #3B28BA
square
#BA285E #A7BA28 #28BA84 #3B28BA
split-complementary
#BA285E #28BA3B #28A7BA
monochromatic
#55122B #881D45 #BA285E #D8487D #E27AA1

Accessibility & contrast

On white

5.91
#BA285E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#BA285E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA285E
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA285E#FFFFFF#000000##FFFFFF
##BA285E1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba285e;
/* rgb */ color: rgb(186, 40, 94);
/* oklch */ color: oklch(52.8% 0.184 4.4);
Tailwind
colors: {
  custom: {
    50: '#d5718b',
    500: '#ba285e',
    950: '#000000',
  },
}
SCSS
$custom: #ba285e;
$custom-light: #d5718b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba285e",
  "rgb": {
    "r": 186,
    "g": 40,
    "b": 94
  },
  "hsl": {
    "h": 337.808,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52751,
    "c": 0.18406,
    "h": 4.4
  },
  "luminance": 0.12765
}

Semantic roles & 50–950 ramp

primary
#BA285E
secondary
#73CAAA
accent
#E8AA40
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #BA285E

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

Preview Lab → · Contrast checker → · Palette generator →

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