#BA438E#BA438E

#BA438E is a mid, vivid pink. Relative luminance 0.164; OKLCH L 57.0% C 0.173 H 345.2°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#BA438E
RGBrgb(186, 67, 142)
HSLhsl(322, 47%, 50%)
HSVhsv(322, 64%, 73%)
CMYKcmyk(0%, 64%, 23.7%, 27.1%)
CIE-LABlab(47.51, 55.52, -16.66)
CIE-LCHlch(47.51, 57.96, 343.30°)
OKLaboklab(57.02% 0.1672 -0.0442)
OKLCHoklch(57.02% 0.173 345.2)
XYZxyz(27.1403, 16.4090, 27.3239)
Luminance0.1641 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA438E #43BA6F
analogous
#AB43BA #BA438E #BA4352
triadic
#BA438E #8EBA43 #438EBA
tetradic
#BA438E #BAAB43 #43BA6F #4352BA
square
#BA438E #BAAB43 #43BA6F #4352BA
split-complementary
#BA438E #52BA43 #43BAAB
monochromatic
#602349 #8D336C #BA438E #CB6FA9 #DB9CC4

Accessibility & contrast

On white

4.91
#BA438E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#BA438E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA438E
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA438E#FFFFFF#000000##FFFFFF
##BA438E1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6490
Deuteranopia (green-blind)
#72788B
Tritanopia (blue-blind)
#C64262
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba438e;
/* rgb */ color: rgb(186, 67, 142);
/* oklch */ color: oklch(57.0% 0.173 345.2);
Tailwind
colors: {
  custom: {
    50: '#d27faf',
    500: '#ba438e',
    950: '#000000',
  },
}
SCSS
$custom: #ba438e;
$custom-light: #d27faf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba438e",
  "rgb": {
    "r": 186,
    "g": 67,
    "b": 142
  },
  "hsl": {
    "h": 322.185,
    "s": 47.036,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57021,
    "c": 0.17295,
    "h": 345.2
  },
  "luminance": 0.16406
}

Semantic roles & 50–950 ramp

primary
#BA438E
secondary
#91C8A5
accent
#D78351
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150B10
muted
#837C7F

Preview Lab

Preview with #BA438E

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

Preview Lab → · Contrast checker → · Palette generator →

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