#BA4E75#BA4E75

#BA4E75 is a mid, vivid pink. Relative luminance 0.172; OKLCH L 57.5% C 0.145 H 0.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#BA4E75
RGBrgb(186, 78, 117)
HSLhsl(338, 44%, 52%)
HSVhsv(338, 58%, 73%)
CMYKcmyk(0%, 58.1%, 37.1%, 27.1%)
CIE-LABlab(48.48, 47.42, -0.12)
CIE-LCHlch(48.48, 47.42, 359.85°)
OKLaboklab(57.46% 0.1446 0.0003)
OKLCHoklch(57.46% 0.145 0.1)
XYZxyz(26.1865, 17.1750, 18.7622)
Luminance0.1717 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4E75 #4EBA93
analogous
#BA4EAB #BA4E75 #BA5D4E
triadic
#BA4E75 #75BA4E #4E75BA
tetradic
#BA4E75 #ABBA4E #4EBA93 #5D4EBA
square
#BA4E75 #ABBA4E #4EBA93 #5D4EBA
split-complementary
#BA4E75 #4EBA5D #4EABBA
monochromatic
#66283E #923959 #BA4E75 #CB7A97 #DCA6BA

Accessibility & contrast

On white

4.74
#BA4E75 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#BA4E75 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4E75
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4E75#FFFFFF#000000##FFFFFF
##BA4E751.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#616676
Deuteranopia (green-blind)
#7D7B72
Tritanopia (blue-blind)
#C8455D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba4e75;
/* rgb */ color: rgb(186, 78, 117);
/* oklch */ color: oklch(57.5% 0.145 0.1);
Tailwind
colors: {
  custom: {
    50: '#d2849c',
    500: '#ba4e75',
    950: '#000000',
  },
}
SCSS
$custom: #ba4e75;
$custom-light: #d2849c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4e75",
  "rgb": {
    "r": 186,
    "g": 78,
    "b": 117
  },
  "hsl": {
    "h": 338.333,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57464,
    "c": 0.14456,
    "h": 0.1
  },
  "luminance": 0.17172
}

Semantic roles & 50–950 ramp

primary
#BA4E75
secondary
#9ACAB8
accent
#D4A654
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #BA4E75

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

Preview Lab → · Contrast checker → · Palette generator →

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