#BA265C#BA265C

#BA265C is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.5% C 0.185 H 5.0°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#BA265C
RGBrgb(186, 38, 92)
HSLhsl(338, 66%, 44%)
HSVhsv(338, 80%, 73%)
CMYKcmyk(0%, 79.6%, 50.5%, 27.1%)
CIE-LABlab(42.16, 60.35, 6.14)
CIE-LCHlch(42.16, 60.66, 5.81°)
OKLaboklab(52.55% 0.1847 0.0162)
OKLCHoklch(52.55% 0.185 5)
XYZxyz(22.8766, 12.6013, 11.3508)
Luminance0.1260 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA265C #26BA84
analogous
#BA26A6 #BA265C #BA3A26
triadic
#BA265C #5CBA26 #265CBA
tetradic
#BA265C #A6BA26 #26BA84 #3A26BA
square
#BA265C #A6BA26 #26BA84 #3A26BA
split-complementary
#BA265C #26BA3A #26A6BA
monochromatic
#54112A #871C43 #BA265C #D9447B #E3779F

Accessibility & contrast

On white

5.97
#BA265C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#BA265C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA265C
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA265C#FFFFFF#000000##FFFFFF
##BA265C1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D515D
Deuteranopia (green-blind)
#736E58
Tritanopia (blue-blind)
#CB003E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba265c;
/* rgb */ color: rgb(186, 38, 92);
/* oklch */ color: oklch(52.5% 0.185 5.0);
Tailwind
colors: {
  custom: {
    50: '#d57089',
    500: '#ba265c',
    950: '#000000',
  },
}
SCSS
$custom: #ba265c;
$custom-light: #d57089;
$custom-dark: #000000;
JSON
{
  "hex": "#ba265c",
  "rgb": {
    "r": 186,
    "g": 38,
    "b": 92
  },
  "hsl": {
    "h": 338.108,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52546,
    "c": 0.18536,
    "h": 5
  },
  "luminance": 0.12598
}

Semantic roles & 50–950 ramp

primary
#BA265C
secondary
#71CBAA
accent
#E9AB3F
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080B
muted
#837B7C

Preview Lab

Preview with #BA265C

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

Preview Lab → · Contrast checker → · Palette generator →

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