#BA274E#BA274E
#BA274E is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.3% C 0.182 H 11.5°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #BA274E |
|---|---|
| RGB | rgb(186, 39, 78) |
| HSL | hsl(344, 65%, 44%) |
| HSV | hsv(344, 79%, 73%) |
| CMYK | cmyk(0%, 79%, 58.1%, 27.1%) |
| CIE-LAB | lab(41.91, 59.00, 14.60) |
| CIE-LCH | lch(41.91, 60.78, 13.90°) |
| OKLab | oklab(52.25% 0.1784 0.0364) |
| OKLCH | oklch(52.25% 0.182 11.5) |
| XYZ | xyz(22.3526, 12.4435, 8.4311) |
| Luminance | 0.1244 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ruby
#CA0147
ΔE00 3.36
Rose Red
#BE013C
ΔE00 4.41
Raspberry (survey)
#B00149
ΔE00 4.54
Purplish Red
#B0054B
ΔE00 4.59
Lipstick
#D5174E
ΔE00 5.17
Light Burgundy
#A8415B
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA274E #27BA93
analogous
#BA2798 #BA274E #BA4A27
triadic
#BA274E #4EBA27 #274EBA
tetradic
#BA274E #98BA27 #27BA93 #4A27BA
square
#BA274E #98BA27 #27BA93 #4A27BA
split-complementary
#BA274E #27BA4A #2798BA
monochromatic
#551224 #871C39 #BA274E #D8466D #E37995
Accessibility & contrast
On white
6.02
#BA274E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#BA274E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA274E
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA274E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA274E | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#50504F
Deuteranopia (green-blind)
#766E4A
Tritanopia (blue-blind)
#CC0038
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #ba274e; /* rgb */ color: rgb(186, 39, 78); /* oklch */ color: oklch(52.3% 0.182 11.5);
Tailwind
colors: {
custom: {
50: '#d6707f',
500: '#ba274e',
950: '#000000',
},
}SCSS
$custom: #ba274e; $custom-light: #d6707f; $custom-dark: #000000;
JSON
{
"hex": "#ba274e",
"rgb": {
"r": 186,
"g": 39,
"b": 78
},
"hsl": {
"h": 344.082,
"s": 65.333,
"l": 44.118
},
"oklch": {
"l": 0.52254,
"c": 0.18211,
"h": 11.5
},
"luminance": 0.1244
}Semantic roles & 50–950 ramp
primary
#BA274E
secondary
#72CBB3
accent
#E8BC40
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16080A
muted
#847B7C