#BA5074#BA5074

#BA5074 is a mid, vivid pink. Relative luminance 0.174; OKLCH L 57.7% C 0.141 H 1.2°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#BA5074
RGBrgb(186, 80, 116)
HSLhsl(340, 43%, 52%)
HSVhsv(340, 57%, 73%)
CMYKcmyk(0%, 57%, 37.6%, 27.1%)
CIE-LABlab(48.81, 46.35, 0.96)
CIE-LCHlch(48.81, 46.36, 1.19°)
OKLaboklab(57.7% 0.1412 0.0031)
OKLCHoklch(57.7% 0.141 1.2)
XYZxyz(26.2722, 17.4401, 18.5023)
Luminance0.1744 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5074 #50BA96
analogous
#BA50A9 #BA5074 #BA6150
triadic
#BA5074 #74BA50 #5074BA
tetradic
#BA5074 #A9BA50 #50BA96 #6150BA
square
#BA5074 #A9BA50 #50BA96 #6150BA
split-complementary
#BA5074 #50BA61 #50A9BA
monochromatic
#67293E #933A58 #BA5074 #CB7C97 #DDA8BA

Accessibility & contrast

On white

4.68
#BA5074 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#BA5074 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA5074
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5074#FFFFFF#000000##FFFFFF
##BA50741.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#626775
Deuteranopia (green-blind)
#7E7B72
Tritanopia (blue-blind)
#C8465E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba5074;
/* rgb */ color: rgb(186, 80, 116);
/* oklch */ color: oklch(57.7% 0.141 1.2);
Tailwind
colors: {
  custom: {
    50: '#d2859b',
    500: '#ba5074',
    950: '#000000',
  },
}
SCSS
$custom: #ba5074;
$custom-light: #d2859b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5074",
  "rgb": {
    "r": 186,
    "g": 80,
    "b": 116
  },
  "hsl": {
    "h": 339.623,
    "s": 43.443,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57701,
    "c": 0.14127,
    "h": 1.2
  },
  "luminance": 0.17437
}

Semantic roles & 50–950 ramp

primary
#BA5074
secondary
#9CCABA
accent
#D3A855
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #BA5074

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

Preview Lab → · Contrast checker → · Palette generator →

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