#BA2958#BA2958

#BA2958 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.7% C 0.182 H 7.3°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#BA2958
RGBrgb(186, 41, 88)
HSLhsl(341, 64%, 45%)
HSVhsv(341, 78%, 73%)
CMYKcmyk(0%, 78%, 52.7%, 27.1%)
CIE-LABlab(42.36, 59.16, 8.94)
CIE-LCHlch(42.36, 59.83, 8.59°)
OKLaboklab(52.66% 0.1804 0.023)
OKLCHoklch(52.66% 0.182 7.3)
XYZxyz(22.8062, 12.7328, 10.4874)
Luminance0.1273 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2958 #29BA8B
analogous
#BA29A1 #BA2958 #BA4329
triadic
#BA2958 #58BA29 #2958BA
tetradic
#BA2958 #A1BA29 #29BA8B #4329BA
square
#BA2958 #A1BA29 #29BA8B #4329BA
split-complementary
#BA2958 #29BA43 #29A1BA
monochromatic
#561329 #881E40 #BA2958 #D74977 #E27B9D

Accessibility & contrast

On white

5.92
#BA2958 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#BA2958 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2958
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2958#FFFFFF#000000##FFFFFF
##BA29581.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5259
Deuteranopia (green-blind)
#756E54
Tritanopia (blue-blind)
#CB003D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba2958;
/* rgb */ color: rgb(186, 41, 88);
/* oklch */ color: oklch(52.7% 0.182 7.3);
Tailwind
colors: {
  custom: {
    50: '#d57186',
    500: '#ba2958',
    950: '#000000',
  },
}
SCSS
$custom: #ba2958;
$custom-light: #d57186;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2958",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 88
  },
  "hsl": {
    "h": 340.552,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5266,
    "c": 0.18184,
    "h": 7.3
  },
  "luminance": 0.1273
}

Semantic roles & 50–950 ramp

primary
#BA2958
secondary
#75CAAE
accent
#E7B141
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #BA2958

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

Preview Lab → · Contrast checker → · Palette generator →

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