#BA2F4D#BA2F4D

#BA2F4D is a mid, vivid red. Relative luminance 0.130; OKLCH L 52.9% C 0.175 H 13.4°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#BA2F4D
RGBrgb(186, 47, 77)
HSLhsl(347, 60%, 46%)
HSVhsv(347, 75%, 73%)
CMYKcmyk(0%, 74.7%, 58.6%, 27.1%)
CIE-LABlab(42.78, 56.43, 16.41)
CIE-LCHlch(42.78, 58.77, 16.21°)
OKLaboklab(52.89% 0.17 0.0406)
OKLCHoklch(52.89% 0.175 13.4)
XYZxyz(22.6080, 13.0112, 8.3407)
Luminance0.1301 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2F4D #2FBA9C
analogous
#BA2F93 #BA2F4D #BA562F
triadic
#BA2F4D #4DBA2F #2F4DBA
tetradic
#BA2F4D #93BA2F #2FBA9C #562FBA
square
#BA2F4D #93BA2F #2FBA9C #562FBA
split-complementary
#BA2F4D #2FBA56 #2F93BA
monochromatic
#581625 #892339 #BA2F4D #D3536F #E08497

Accessibility & contrast

On white

5.83
#BA2F4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#BA2F4D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2F4D
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2F4D#FFFFFF#000000##FFFFFF
##BA2F4D1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54534D
Deuteranopia (green-blind)
#786F49
Tritanopia (blue-blind)
#CC003C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba2f4d;
/* rgb */ color: rgb(186, 47, 77);
/* oklch */ color: oklch(52.9% 0.175 13.4);
Tailwind
colors: {
  custom: {
    50: '#d6737e',
    500: '#ba2f4d',
    950: '#000000',
  },
}
SCSS
$custom: #ba2f4d;
$custom-light: #d6737e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2f4d",
  "rgb": {
    "r": 186,
    "g": 47,
    "b": 77
  },
  "hsl": {
    "h": 347.05,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52889,
    "c": 0.17477,
    "h": 13.4
  },
  "luminance": 0.13008
}

Semantic roles & 50–950 ramp

primary
#BA2F4D
secondary
#7CC9B8
accent
#E3C145
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160909
muted
#847B7B

Preview Lab

Preview with #BA2F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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