#BA3958#BA3958

#BA3958 is a mid, vivid red. Relative luminance 0.141; OKLCH L 54.1% C 0.165 H 10.4°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#BA3958
RGBrgb(186, 57, 88)
HSLhsl(346, 53%, 48%)
HSVhsv(346, 69%, 73%)
CMYKcmyk(0%, 69.4%, 52.7%, 27.1%)
CIE-LABlab(44.34, 53.64, 11.71)
CIE-LCHlch(44.34, 54.90, 12.31°)
OKLaboklab(54.13% 0.1626 0.0298)
OKLCHoklch(54.13% 0.165 10.4)
XYZxyz(23.4763, 14.0731, 10.7108)
Luminance0.1407 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3958 #39BA9B
analogous
#BA3999 #BA3958 #BA5A39
triadic
#BA3958 #58BA39 #3958BA
tetradic
#BA3958 #99BA39 #39BA9B #5A39BA
square
#BA3958 #99BA39 #39BA9B #5A39BA
split-complementary
#BA3958 #39BA5A #3999BA
monochromatic
#5C1C2C #8B2B42 #BA3958 #CF617C #DD90A3

Accessibility & contrast

On white

5.51
#BA3958 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#BA3958 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3958
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3958#FFFFFF#000000##FFFFFF
##BA39581.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585859
Deuteranopia (green-blind)
#7A7255
Tritanopia (blue-blind)
#CB1F45
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba3958;
/* rgb */ color: rgb(186, 57, 88);
/* oklch */ color: oklch(54.1% 0.165 10.4);
Tailwind
colors: {
  custom: {
    50: '#d57886',
    500: '#ba3958',
    950: '#000000',
  },
}
SCSS
$custom: #ba3958;
$custom-light: #d57886;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3958",
  "rgb": {
    "r": 186,
    "g": 57,
    "b": 88
  },
  "hsl": {
    "h": 345.581,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54125,
    "c": 0.16535,
    "h": 10.4
  },
  "luminance": 0.1407
}

Semantic roles & 50–950 ramp

primary
#BA3958
secondary
#87C8B8
accent
#DCBA4B
background
#FDF7F8
surface
#FBEEEF
border
#D4C9CA
text
#150A0B
muted
#837C7C

Preview Lab

Preview with #BA3958

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

Preview Lab → · Contrast checker → · Palette generator →

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