#BA475E#BA475E

#BA475E is a mid, vivid red. Relative luminance 0.158; OKLCH L 55.9% C 0.149 H 11.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#BA475E
RGBrgb(186, 71, 94)
HSLhsl(348, 45%, 50%)
HSVhsv(348, 62%, 73%)
CMYKcmyk(0%, 61.8%, 49.5%, 27.1%)
CIE-LABlab(46.65, 48.26, 11.24)
CIE-LCHlch(46.65, 49.55, 13.12°)
OKLaboklab(55.9% 0.1462 0.0288)
OKLCHoklch(55.9% 0.149 11.2)
XYZxyz(24.5252, 15.7567, 12.3373)
Luminance0.1575 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA475E #47BAA3
analogous
#BA4797 #BA475E #BA6947
triadic
#BA475E #5EBA47 #475EBA
tetradic
#BA475E #97BA47 #47BAA3 #6947BA
square
#BA475E #97BA47 #47BAA3 #6947BA
split-complementary
#BA475E #47BA69 #4797BA
monochromatic
#622531 #8E3547 #BA475E #CB7485 #DBA0AC

Accessibility & contrast

On white

5.06
#BA475E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#BA475E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA475E
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA475E#FFFFFF#000000##FFFFFF
##BA475E1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60605E
Deuteranopia (green-blind)
#7E775B
Tritanopia (blue-blind)
#CA3650
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba475e;
/* rgb */ color: rgb(186, 71, 94);
/* oklch */ color: oklch(55.9% 0.149 11.2);
Tailwind
colors: {
  custom: {
    50: '#d4808b',
    500: '#ba475e',
    950: '#000000',
  },
}
SCSS
$custom: #ba475e;
$custom-light: #d4808b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba475e",
  "rgb": {
    "r": 186,
    "g": 71,
    "b": 94
  },
  "hsl": {
    "h": 348,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55898,
    "c": 0.149,
    "h": 11.2
  },
  "luminance": 0.15754
}

Semantic roles & 50–950 ramp

primary
#BA475E
secondary
#95C8BE
accent
#D5BB53
background
#FDF8F8
surface
#FBEFF0
border
#D4CACB
text
#150B0C
muted
#837C7D

Preview Lab

Preview with #BA475E

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

Preview Lab → · Contrast checker → · Palette generator →

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