#BA4262#BA4262

#BA4262 is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.4% C 0.156 H 7.5°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#BA4262
RGBrgb(186, 66, 98)
HSLhsl(344, 48%, 49%)
HSVhsv(344, 65%, 73%)
CMYKcmyk(0%, 64.5%, 47.3%, 27.1%)
CIE-LABlab(45.93, 50.84, 7.79)
CIE-LCHlch(45.93, 51.43, 8.71°)
OKLaboklab(55.39% 0.1547 0.0203)
OKLCHoklch(55.39% 0.156 7.5)
XYZxyz(24.4044, 15.2204, 13.2056)
Luminance0.1522 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4262 #42BA9A
analogous
#BA429E #BA4262 #BA5E42
triadic
#BA4262 #62BA42 #4262BA
tetradic
#BA4262 #9EBA42 #42BA9A #5E42BA
square
#BA4262 #9EBA42 #42BA9A #5E42BA
split-complementary
#BA4262 #42BA5E #429EBA
monochromatic
#602232 #8D324A #BA4262 #CB6E87 #DB9BAC

Accessibility & contrast

On white

5.19
#BA4262 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#BA4262 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4262
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4262#FFFFFF#000000##FFFFFF
##BA42621.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5E63
Deuteranopia (green-blind)
#7B765F
Tritanopia (blue-blind)
#CA314E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba4262;
/* rgb */ color: rgb(186, 66, 98);
/* oklch */ color: oklch(55.4% 0.156 7.5);
Tailwind
colors: {
  custom: {
    50: '#d47d8e',
    500: '#ba4262',
    950: '#000000',
  },
}
SCSS
$custom: #ba4262;
$custom-light: #d47d8e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4262",
  "rgb": {
    "r": 186,
    "g": 66,
    "b": 98
  },
  "hsl": {
    "h": 344,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55393,
    "c": 0.15604,
    "h": 7.5
  },
  "luminance": 0.15217
}

Semantic roles & 50–950 ramp

primary
#BA4262
secondary
#90C8B9
accent
#D7B351
background
#FDF7F8
surface
#FBEEF0
border
#D4C9CB
text
#150A0C
muted
#837C7D

Preview Lab

Preview with #BA4262

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

Preview Lab → · Contrast checker → · Palette generator →

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