#BA3F48#BA3F48

#BA3F48 is a mid, vivid red. Relative luminance 0.145; OKLCH L 54.4% C 0.158 H 20.0°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#BA3F48
RGBrgb(186, 63, 72)
HSLhsl(356, 49%, 49%)
HSVhsv(356, 66%, 73%)
CMYKcmyk(0%, 66.1%, 61.3%, 27.1%)
CIE-LABlab(44.89, 50.01, 22.28)
CIE-LCHlch(44.89, 54.74, 24.02°)
OKLaboklab(54.43% 0.1486 0.0539)
OKLCHoklch(54.43% 0.158 20)
XYZxyz(23.1992, 14.4652, 7.7001)
Luminance0.1446 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3F48 #3FBAB1
analogous
#BA3F86 #BA3F48 #BA743F
triadic
#BA3F48 #48BA3F #3F48BA
tetradic
#BA3F48 #86BA3F #3FBAB1 #743FBA
square
#BA3F48 #86BA3F #3FBAB1 #743FBA
split-complementary
#BA3F48 #3FBA74 #3F86BA
monochromatic
#5F2025 #8C3036 #BA3F48 #CC6A71 #DC979C

Accessibility & contrast

On white

5.40
#BA3F48 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#BA3F48 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3F48
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3F48#FFFFFF#000000##FFFFFF
##BA3F481.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5A47
Deuteranopia (green-blind)
#7E7445
Tritanopia (blue-blind)
#CC2443
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba3f48;
/* rgb */ color: rgb(186, 63, 72);
/* oklch */ color: oklch(54.4% 0.158 20.0);
Tailwind
colors: {
  custom: {
    50: '#d57b7a',
    500: '#ba3f48',
    950: '#000000',
  },
}
SCSS
$custom: #ba3f48;
$custom-light: #d57b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3f48",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 72
  },
  "hsl": {
    "h": 355.61,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5443,
    "c": 0.15805,
    "h": 20
  },
  "luminance": 0.14462
}

Semantic roles & 50–950 ramp

primary
#BA3F48
secondary
#8DC8C3
accent
#D9CF4F
background
#FEF7F7
surface
#FCEEED
border
#D5C9C8
text
#160A09
muted
#847C7B

Preview Lab

Preview with #BA3F48

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

Preview Lab → · Contrast checker → · Palette generator →

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