#BA507D#BA507D

#BA507D is a mid, vivid pink. Relative luminance 0.177; OKLCH L 58.0% C 0.145 H 356.0°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#BA507D
RGBrgb(186, 80, 125)
HSLhsl(335, 43%, 52%)
HSVhsv(335, 57%, 73%)
CMYKcmyk(0%, 57%, 32.8%, 27.1%)
CIE-LABlab(49.08, 47.44, -4.06)
CIE-LCHlch(49.08, 47.61, 355.10°)
OKLaboklab(57.99% 0.1443 -0.0101)
OKLCHoklch(57.99% 0.145 356)
XYZxyz(26.8213, 17.6598, 21.3942)
Luminance0.1766 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA507D #50BA8D
analogous
#BA50B2 #BA507D #BA5850
triadic
#BA507D #7DBA50 #507DBA
tetradic
#BA507D #B2BA50 #50BA8D #5850BA
square
#BA507D #B2BA50 #50BA8D #5850BA
split-complementary
#BA507D #50BA58 #50B2BA
monochromatic
#672943 #933A60 #BA507D #CB7C9E #DDA8BE

Accessibility & contrast

On white

4.63
#BA507D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#BA507D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA507D
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA507D#FFFFFF#000000##FFFFFF
##BA507D1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60687E
Deuteranopia (green-blind)
#7C7C7A
Tritanopia (blue-blind)
#C74961
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba507d;
/* rgb */ color: rgb(186, 80, 125);
/* oklch */ color: oklch(58.0% 0.145 356.0);
Tailwind
colors: {
  custom: {
    50: '#d286a2',
    500: '#ba507d',
    950: '#000000',
  },
}
SCSS
$custom: #ba507d;
$custom-light: #d286a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba507d",
  "rgb": {
    "r": 186,
    "g": 80,
    "b": 125
  },
  "hsl": {
    "h": 334.528,
    "s": 43.443,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57992,
    "c": 0.14468,
    "h": 356
  },
  "luminance": 0.17657
}

Semantic roles & 50–950 ramp

primary
#BA507D
secondary
#9CCAB6
accent
#D39D55
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#140B0F
muted
#837C7E

Preview Lab

Preview with #BA507D

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

Preview Lab → · Contrast checker → · Palette generator →

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