#BA235A#BA235A
#BA235A is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.3% C 0.187 H 5.5°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #BA235A |
|---|---|
| RGB | rgb(186, 35, 90) |
| HSL | hsl(338, 68%, 43%) |
| HSV | hsv(338, 81%, 73%) |
| CMYK | cmyk(0%, 81.2%, 51.6%, 27.1%) |
| CIE-LAB | lab(41.82, 60.99, 6.92) |
| CIE-LCH | lch(41.82, 61.39, 6.47°) |
| OKLab | oklab(52.28% 0.1865 0.0181) |
| OKLCH | oklch(52.28% 0.187 5.5) |
| XYZ | xyz(22.6983, 12.3826, 10.8657) |
| Luminance | 0.1238 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.22
Purplish Red
#B0054B
ΔE00 4.03
Raspberry (survey)
#B00149
ΔE00 4.38
Light Burgundy
#A8415B
ΔE00 4.94
Dark Hot Pink
#D90166
ΔE00 5.59
Ruby
#CA0147
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA235A #23BA83
analogous
#BA23A5 #BA235A #BA3823
triadic
#BA235A #5ABA23 #235ABA
tetradic
#BA235A #A5BA23 #23BA83 #3823BA
square
#BA235A #A5BA23 #23BA83 #3823BA
split-complementary
#BA235A #23BA38 #23A5BA
monochromatic
#531028 #861941 #BA235A #DB3F78 #E5739C
Accessibility & contrast
On white
6.04
#BA235A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#BA235A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA235A
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA235A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA235A | 1.00 | 6.04 | 3.48 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C505B
Deuteranopia (green-blind)
#736D56
Tritanopia (blue-blind)
#CB003C
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #ba235a; /* rgb */ color: rgb(186, 35, 90); /* oklch */ color: oklch(52.3% 0.187 5.5);
Tailwind
colors: {
custom: {
50: '#d56f88',
500: '#ba235a',
950: '#000000',
},
}SCSS
$custom: #ba235a; $custom-light: #d56f88; $custom-dark: #000000;
JSON
{
"hex": "#ba235a",
"rgb": {
"r": 186,
"g": 35,
"b": 90
},
"hsl": {
"h": 338.146,
"s": 68.326,
"l": 43.333
},
"oklch": {
"l": 0.5228,
"c": 0.18742,
"h": 5.5
},
"luminance": 0.12379
}Semantic roles & 50–950 ramp
primary
#BA235A
secondary
#6DCCA9
accent
#EBAC3D
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#15080B
muted
#847B7C