#BA5F6D#BA5F6D

#BA5F6D is a mid, moderate red. Relative luminance 0.197; OKLCH L 59.7% C 0.118 H 11.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#BA5F6D
RGBrgb(186, 95, 109)
HSLhsl(351, 40%, 55%)
HSVhsv(351, 49%, 73%)
CMYKcmyk(0%, 48.9%, 41.4%, 27.1%)
CIE-LABlab(51.53, 38.02, 9.06)
CIE-LCHlch(51.53, 39.09, 13.41°)
OKLaboklab(59.69% 0.1152 0.0236)
OKLCHoklch(59.69% 0.118 11.6)
XYZxyz(27.1038, 19.7303, 16.8459)
Luminance0.1973 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5F6D #5FBAAC
analogous
#BA5F9B #BA5F6D #BA7E5F
triadic
#BA5F6D #6DBA5F #5F6DBA
tetradic
#BA5F6D #9BBA5F #5FBAAC #7E5FBA
square
#BA5F6D #9BBA5F #5FBAAC #7E5FBA
split-complementary
#BA5F6D #5FBA7E #5F9BBA
monochromatic
#6F3039 #9A4250 #BA5F6D #CC8A94 #DFB5BB

Accessibility & contrast

On white

4.25
#BA5F6D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#BA5F6D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5F6D
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5F6D#FFFFFF#000000##000000
##BA5F6D1.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#71706D
Deuteranopia (green-blind)
#87826B
Tritanopia (blue-blind)
#C85564
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ba5f6d;
/* rgb */ color: rgb(186, 95, 109);
/* oklch */ color: oklch(59.7% 0.118 11.6);
Tailwind
colors: {
  custom: {
    50: '#d28f96',
    500: '#ba5f6d',
    950: '#000000',
  },
}
SCSS
$custom: #ba5f6d;
$custom-light: #d28f96;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5f6d",
  "rgb": {
    "r": 186,
    "g": 95,
    "b": 109
  },
  "hsl": {
    "h": 350.769,
    "s": 39.738,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59688,
    "c": 0.11762,
    "h": 11.6
  },
  "luminance": 0.19728
}

Semantic roles & 50–950 ramp

primary
#BA5F6D
secondary
#A7CDC8
accent
#D0BD58
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#140C0D
muted
#837D7E

Preview Lab

Preview with #BA5F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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