#BA234F#BA234F

#BA234F is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.0% C 0.185 H 10.5°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#BA234F
RGBrgb(186, 35, 79)
HSLhsl(343, 68%, 43%)
HSVhsv(343, 81%, 73%)
CMYKcmyk(0%, 81.2%, 57.5%, 27.1%)
CIE-LABlab(41.55, 60.17, 13.47)
CIE-LCHlch(41.55, 61.66, 12.62°)
OKLaboklab(51.99% 0.1824 0.0337)
OKLCHoklch(51.99% 0.185 10.5)
XYZxyz(22.2643, 12.2090, 8.5798)
Luminance0.1221 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA234F #23BA8E
analogous
#BA239A #BA234F #BA4323
triadic
#BA234F #4FBA23 #234FBA
tetradic
#BA234F #9ABA23 #23BA8E #4323BA
square
#BA234F #9ABA23 #23BA8E #4323BA
split-complementary
#BA234F #23BA43 #239ABA
monochromatic
#531023 #861939 #BA234F #DB3F6D #E57394

Accessibility & contrast

On white

6.10
#BA234F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#BA234F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA234F
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA234F#FFFFFF#000000##FFFFFF
##BA234F1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4F50
Deuteranopia (green-blind)
#756D4B
Tritanopia (blue-blind)
#CC0037
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ba234f;
/* rgb */ color: rgb(186, 35, 79);
/* oklch */ color: oklch(52.0% 0.185 10.5);
Tailwind
colors: {
  custom: {
    50: '#d66f80',
    500: '#ba234f',
    950: '#000000',
  },
}
SCSS
$custom: #ba234f;
$custom-light: #d66f80;
$custom-dark: #000000;
JSON
{
  "hex": "#ba234f",
  "rgb": {
    "r": 186,
    "g": 35,
    "b": 79
  },
  "hsl": {
    "h": 342.517,
    "s": 68.326,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51992,
    "c": 0.18548,
    "h": 10.5
  },
  "luminance": 0.12206
}

Semantic roles & 50–950 ramp

primary
#BA234F
secondary
#6DCCB0
accent
#EBB83D
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16080A
muted
#847B7C

Preview Lab

Preview with #BA234F

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

Preview Lab → · Contrast checker → · Palette generator →

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