#BA268E#BA268E

#BA268E is a mid, highly saturated pink. Relative luminance 0.138; OKLCH L 54.4% C 0.207 H 343.3°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#BA268E
RGBrgb(186, 38, 142)
HSLhsl(318, 66%, 44%)
HSVhsv(318, 80%, 73%)
CMYKcmyk(0%, 79.6%, 23.7%, 27.1%)
CIE-LABlab(43.92, 65.59, -22.17)
CIE-LCHlch(43.92, 69.23, 341.33°)
OKLaboklab(54.4% 0.1982 -0.0594)
OKLCHoklch(54.4% 0.207 343.3)
XYZxyz(25.8263, 13.7811, 26.8859)
Luminance0.1378 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA268E #26BA52
analogous
#9C26BA #BA268E #BA2644
triadic
#BA268E #8EBA26 #268EBA
tetradic
#BA268E #BA9C26 #26BA52 #2644BA
square
#BA268E #BA9C26 #26BA52 #2644BA
split-complementary
#BA268E #44BA26 #26BA9C
monochromatic
#541140 #871C67 #BA268E #D944AD #E377C3

Accessibility & contrast

On white

5.59
#BA268E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#BA268E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA268E
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA268E#FFFFFF#000000##FFFFFF
##BA268E1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385891
Deuteranopia (green-blind)
#67708B
Tritanopia (blue-blind)
#C62658
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba268e;
/* rgb */ color: rgb(186, 38, 142);
/* oklch */ color: oklch(54.4% 0.207 343.3);
Tailwind
colors: {
  custom: {
    50: '#d372af',
    500: '#ba268e',
    950: '#000000',
  },
}
SCSS
$custom: #ba268e;
$custom-light: #d372af;
$custom-dark: #000000;
JSON
{
  "hex": "#ba268e",
  "rgb": {
    "r": 186,
    "g": 38,
    "b": 142
  },
  "hsl": {
    "h": 317.838,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.54404,
    "c": 0.20685,
    "h": 343.3
  },
  "luminance": 0.13778
}

Semantic roles & 50–950 ramp

primary
#BA268E
secondary
#71CB8C
accent
#E9713F
background
#FDF7FA
surface
#FBEDF4
border
#D4C8CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #BA268E

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

Preview Lab → · Contrast checker → · Palette generator →

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